<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_一个程序员的自省_分类_25-重构</title><id>http://feed.cnblogs.com/blog/u/15645/category/127900/rss</id><updated>2012-05-29T01:14:12Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/category/127900.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/15645/category/127900/rss"/><entry><id>http://www.cnblogs.com/anderslly/archive/2009/06/21/write-self-documenting-code.html</id><title type="text">编写自文档化的代码</title><summary type="text">我们编写的代码需要具有高度的可读性，这样其他的程序员可以更容易地对代码进行修改和扩展。两种传统的方式是使用外部文档和编写大量注释，其实它们都不是好的选择。自文档化的目标是使代码成为良好的文档，一种人人可以读懂的文档，本文介绍了多种提高代码自文档化的技巧，最后给出了我最近在尝试的一种方式。</summary><published>2009-06-21T15:02:00Z</published><updated>2009-06-21T15:02:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2009/06/21/write-self-documenting-code.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2009/06/21/write-self-documenting-code.html"/><content type="text">我们编写的代码需要具有高度的可读性，这样其他的程序员可以更容易地对代码进行修改和扩展。两种传统的方式是使用外部文档和编写大量注释，其实它们都不是好的选择。自文档化的目标是使代码成为良好的文档，一种人人可以读懂的文档，本文介绍了多种提高代码自文档化的技巧，最后给出了我最近在尝试的一种方式。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2008/04/11/refactoring-why-and-how.html</id><title type="text">重构：&amp;ldquo;为什么&amp;rdquo;和&amp;ldquo;怎么做&amp;rdquo;</title><summary type="text"> 重构绝对不是美学问题，而体现为程序员的“责任心”问题。因为程序不是一锤子买卖，代码还要生存很长实践，所以作为有责任心的程序员，就要对代码进行必要的重构。</summary><published>2008-04-11T08:34:00Z</published><updated>2008-04-11T08:34:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2008/04/11/refactoring-why-and-how.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2008/04/11/refactoring-why-and-how.html"/><content type="text"> 重构绝对不是美学问题，而体现为程序员的“责任心”问题。因为程序不是一锤子买卖，代码还要生存很长实践，所以作为有责任心的程序员，就要对代码进行必要的重构。</content></entry></feed>
