Ask HN: 如何培养编程方面的“好品味”?

1作者: danielciocirlan7 个月前
这是一个针对资深程序员的问题: 是什么帮助你培养了在思考和处理代码方面的“良好品味”?这里的“良好品味”指的是敏锐的直觉、对代码快速而深入的理解、迅速发现可能出现的问题、做出明智的权衡、以及对适用于许多工具/框架/库/语言的基本原则的良好掌握。 对你来说,是什么起到了作用?书籍?培训?导师?团队/项目?___? 经验、时间和反复试验是显而易见的答案;我正在寻找对你来说有什么不同。 我也很好奇,除了从导师那里耳濡目染之外,你是否认为这种技能可以被教授或加速培养?
查看原文
This is a question for senior programmers:<p>What helped you get &quot;good taste&quot; in how you think and approach your code? By &quot;good taste&quot; 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&#x2F;frameworks&#x2F;libraries&#x2F;languages.<p>What did it for you? Books? Training? Mentors? A team&#x2F;project? ___?<p>Experience, time and trial&#x2F;error are obvious answers; I&#x27;m looking for what made the difference for you.<p>I&#x27;m also curious if you think this skill can be taught or accelerated, other than osmosis from a mentor.