<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>代码风格 - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/%E4%BB%A3%E7%A0%81%E9%A3%8E%E6%A0%BC/</link><description>代码风格 - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Sun, 12 Jan 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/%E4%BB%A3%E7%A0%81%E9%A3%8E%E6%A0%BC/" rel="self" type="application/rss+xml"/><item><title>代码风格最佳实践</title><link>https://rd163.visword.com/posts/best-practice-for-code-style/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/best-practice-for-code-style/</guid><description><![CDATA[<p>代码风格（code style）不是格式化工具跑出来的最终样式，而是一套贯穿命名、接口、注释、文件组织与错误处理的工程习惯。好的代码风格让代码&quot;为读者而写&quot;(optimize for the reader),在团队成员流动、代码规模膨胀时仍可维护。最有效的学习方式之一，是去读那些被工业界长期验证、口碑极佳的开源项目源码——本文先罗列一批值得精读的项目，再从它们身上归纳几条可复用的实践。</p>]]></description></item></channel></rss>