请问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.