|
|
|
|
|
by Arainach
303 days ago
|
|
>Uncle Bob's general principles of balancing terseness/efficiency with ergonomics and readability (in most, but not all, cases). Have you read Uncle Bob? There's no need to strawman: Bob's examples in Clean Code are absolutely nuts. Here's a nice writeup that includes one of Bob's examples verbatim in case you've forgotten: https://qntm.org/clean Here's another: https://gerlacdt.github.io/blog/posts/clean_code/ |
|
Yes, I have read Uncle Bob. I could agree that the examples in the book leave room for improvement.
Meanwhile, the real-world application of these principles and trial-and-error, collectively within my industry, yields a more accurate picture of it's usefulness.
Even the most click-bait'y criticisms (such as the author I referenced above) involve zooming in on it's most-controversial aspects, in a vacuum, without addressing the core principles and how they're completely necessary for delivering software at scale, warranting it's status as a seminal work.
"...for the obedience of fools, and the guidance of wise men", indeed!
edit - it's the same arc as Agile has endured:
1. a good-faith argument for a better way of doing things is recognised and popularised.
2. It's abused and misused by bad actors/incompetents for years (who would not have done better using a different process)
3. Jaded/opportunistic talking heads tell us it's all garbage while simultaneously explaining that "well, it would be great if it wasn't applied poorly..."