标签:
参考
When it comes to writing code, the number one most important skill is how to keep a tangle of features
from collapsing under the weight of its own complexity. I’ve worked on large telecommunications systems,
console games, blogging software, a bunch of personal tools, and very rarely is there some tricky data structure
or algorithm that casts a looming shadow over everything else. But there’s always lots of state to keep track of,
rearranging of values, handling special cases, and carefully working out how all the pieces of a system interact.
To a great extent the act of coding is one of organization. Refactoring. Simplifying. Figuring out how to remove
extraneous manipulations here and there.
当涉及代码编写时,最重要的技能是避免随着软件复杂度的升级而带来的一系列特性崩溃问题。我在大型通信系统中搞过开发,也编写过
控制台游戏,也有日志软件以及一些个人工具,在这过程中很少遇到会造成一切迫在眉睫的阴影的令人难以捉摸的数据结构或算法。
但是总有很多需要维护的状态, 变量的重新附值,特殊情况处理以及精确的解决系统交互细节。
很大程序上,代码的编写是一种组织,重构,简化,找到如何删除随处可见的多余操作的方案。
标签:
原文地址:http://www.cnblogs.com/aqing1987/p/4593957.html