请问HN:有什么方法可以培养编程中的“好品味”?
这是一个针对高级程序员的问题:
是什么帮助你在思考和处理代码时培养了“良好的品味”?我所说的“良好的品味”是指敏锐的直觉、对代码的快速而深入的理解、快速发现可能出现的问题、明智的权衡,以及对适用于多种工具/框架/库/语言的基本原则的良好掌握。
是什么让你达到了这一点?书籍?培训?导师?团队/项目?___?
经验、时间和试错显然是显而易见的答案;我想知道是什么让你有所不同。
我也很好奇,你是否认为这种技能可以被教授或加速培养,而不仅仅是通过从导师那里潜移默化地学习。
查看原文
This is a question for senior programmers:<p>What helped you get "good taste" in how you think and approach your code? By "good taste" I mean sensitive intuitions, fast and deep understanding of code, quick spotting of problems that might occur, informed tradeoffs, good command of base principles that apply to many tools/frameworks/libraries/languages.<p>What did it for you? Books? Training? Mentors? A team/project? ___?<p>Experience, time and trial/error are obvious answers; I'm looking for what made the difference for you.<p>I'm also curious if you think this skill can be taught or accelerated, other than osmosis from a mentor.