▲ | throwaway1004 6 days ago | ||||||||||||||||
>Have you read Uncle Bob? 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..." | |||||||||||||||||
▲ | Arainach 6 days ago | parent [-] | ||||||||||||||||
>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. It's not "zooming in" to point out that the first and second rules in Bob's work are "functions should be absurdly tiny, 4 lines or less" and that in the real world that results in unreadable garbage. This isn't digging through and looking for edge cases - all of the rules are fundamentally flawed. Sure, if you summarize the whole book as "keep things small with a single purpose" that's not an awful message, but that's not the book. Other books have put that point better without all of the problems. The book is full of detailed specific instructions, and almost all of the specifics are garbage that causes more bad than good in the real world. Clean Code has no nuance, only dogma, and that's a big problem (a point the second article I linked calls out and discusses in depth). There are some good practices in it, but basically all of its code is a mistake that is harmful to a new engineer to read. | |||||||||||||||||
|