<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fresker小站 &#187; 程序注释编写规范</title>
	<atom:link href="http://www.fresker.com/old2/archives/tag/%e7%a8%8b%e5%ba%8f%e6%b3%a8%e9%87%8a%e7%bc%96%e5%86%99%e8%a7%84%e8%8c%83/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fresker.com/old2</link>
	<description>天将降大任于斯人也，必先苦其心志，劳其筋骨，饿其体肤，空乏其身....</description>
	<lastBuildDate>Sat, 05 May 2018 04:20:42 +0000</lastBuildDate>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>程序注释编写规范——别忽视细节</title>
		<link>http://www.fresker.com/old2/archives/264</link>
		<comments>http://www.fresker.com/old2/archives/264#comments</comments>
		<pubDate>Sat, 21 Aug 2010 02:14:04 +0000</pubDate>
		<dc:creator>Duke</dc:creator>
				<category><![CDATA[乱七八糟]]></category>
		<category><![CDATA[开发技术类]]></category>
		<category><![CDATA[技术杂谈]]></category>
		<category><![CDATA[程序注释编写规范]]></category>

		<guid isPermaLink="false">http://www.fresker.com/?p=264</guid>
		<description><![CDATA[最近一直在处理之前他人留下的代码，很是头疼。因为程序注释性的东西太少了，而且很多不合规范。不过也暴露了自己平时写代码的缺陷。在这里整理了一下程序注释编写规范，留待日后参考。 这儿有一篇来之http://chenyuangui.spaces.eepw.com.cn/articles/article/item/65556# 一、注释 程序中的注释能够帮助理解程序。但是也不能太多，太多同样会影响程序的可读性。要遵循简练，准确，易理解的原则。 1、文件头：文件的头部应该有个对本文件的详细描述。内容包括版权，版本号，生成日期，作者，内容，功能，函数功能，与其他文件的关系，修改日志等。尤其是每次修改，都应该写入修改日志。 下面是一个常用的模版 /************************************************* Copyright (C), 2000-2004, ****** File name:      // 文件名 Author:       Version:        Date: // 作者、版本及完成日期 Description:    // 用于详细说明此程序文件完成的主要功能，与其他模块 // 或函数的接口，输出值、取值范围、含义及参数间的控 // 制、顺序、独立或依赖等关系 Others:         // 其它内容的说明 Function List:  // 主要函数列表，每条记录应包括函数名及功能简要说明 1. &#8230;. History:        // 修改历史记录列表，每条修改记录应包括修改日期、修改 // 者及修改内容简述 1. Date: Author: Modification: 2. &#8230; *************************************************/ 2、函数：列出函数的目的，功能、输入输出、返回值、调用关系等。 模版： /************************************************* Function:       // 函数名称 Description:    [...]]]></description>
		<wfw:commentRss>http://www.fresker.com/old2/archives/264/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->