TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What is a good alternative to Clean Code?

15 点作者 pelario将近 4 年前
I&#x27;m surprised by the huge amount of detractors of the book, which to me was very useful (when I read it almost 10 years ago). I was planing to go back to it, but considering recent discussion, I want to know HN&#x27;s alternative suggestions.<p>What is your modern

9 条评论

Jtsummers将近 4 年前
<i>The Pragmatic Programmer</i>, <i>Refactoring</i> (I&#x27;m rereading it after many years with the 2018 edition, opinion not totally formed on this one), <i>Working Effectively With Legacy Code</i>, <i>A Philosophy of Software Design</i>. It&#x27;s been a long time since I&#x27;ve read <i>Clean Code</i>, I don&#x27;t quite get the hate from the other thread here today so I&#x27;m rereading it now. I figure it&#x27;ll take me a couple days and worst case I&#x27;ll agree with the criticism and stop recommending it.
评论 #27296462 未加载
bwh2将近 4 年前
Code Complete, specifically chapters 7, 11, 15, and 22-24. I always found the examples to be clearer and more thoughtful than Clean Code. But with Code Complete, there are several chapters which feel dated around stuff like version control.
aristofun将近 4 年前
#1. Software engineering is a very complex skill that you can’t just put in a book.<p>Confusion comes from CS which is based on math which is based on determined set of rules and axioms.<p>But modern software engineering is more art, CS is just one of many tools at your disposal.<p>So many developers and book authors still don’t get it.<p>There are no laws or rules that just works — u always have to think for yourself.<p>=&gt; any book teaching you specific principles or practices would be incomplete and incorrect in some big set of cases.<p>#2. CC is a great book, as any book written by experienced engineers.<p>You just have to remember #1 and learn to understand motivation and applicability of each idea in a book.
custardbeans将近 4 年前
I&#x27;m reading Clean Code at the moment. I don&#x27;t agree with everything. I think it would be a mistake to take it on it&#x27;s every recommendation.
nicopappl将近 4 年前
I can suggest something that was recommended on HN maybe five years ago: Code Simplicity by Kanat-Alexander.<p>It&#x27;s relatively short and doesn&#x27;t commit the sin of providing code snippets. It only lays down general rules about software development and give generic heuristic for better software design. Nothing specific to code. It has no prescriptive rules on the way you write code, but rather, on which code to write. This makes the recommendations timeless despite the fact the book is fairly old. As someone who was just starting in development at the time, it was a HUGE help and provided insights that I can only agree with now that I&#x27;m working in the field. Maybe for someone who has a bit of experience already, it might just elicit shrugs, but I think it&#x27;s a good introduction on how to think about software design.
afarrell将近 4 年前
A Philosophy of Software Design.<p>Except for what he says about TDD.
dave_sid将近 4 年前
Why is the book no longer considered good practice? Are there a specific list of bad practices it uses?
评论 #27288864 未加载
Bambo将近 4 年前
&quot;The Pragmatic Programmer&quot; is much more detailed.
artistminute将近 4 年前
Pure chaos.