4 ms·
Related recent discussion about the actual Clean Code book: https://news.ycombinator.com/item?id=34843128 https://news.ycombinator.com/item?id=34843128 I prefe
by userbinator 4y ago
Related recent discussion about the actual Clean Code book: https://news.ycombinator.com/item?id=34843128 https://news.ycombinator.com/item?id=34843128
I prefer a much simpler rule: if it's easy for the CPU to execute, it's likely easy for you to read too. That means: no deep nesting, minimise branchiness (indirect calls are the worst), keep the code small and simple.