3 ms·
> While undeniably true, this feels completely orthogonal to the question of clean code. I think this mentality and the Clean Code Movement (with capital Cs) a
by PragmaticPulp 5y ago
> While undeniably true, this feels completely orthogonal to the question of clean code.
I think this mentality and the Clean Code Movement (with capital Cs) actually have a lot in common.
Much of the Clean Code movement is occupied with the idea that there is one, single, right way of doing things. Anyone who does things differently is doing things the wrong way.
There is a subset of programmers who are attracted to these movements because it can feel like a free license to feel superior to your peers. Once you understand all of the rules and intricacies of the Clean Code Movement, it can feel like a free pass to push the Clean Code rules on to others and the codebase. No need for code review or consultation, because you've already decided that the Clean Code Way is the right way and therefore there isn't anything to discuss.
- mdoms 5y ago> Much of the Clean Code movement is occupied with the idea that there is one, single, right way of doing things Well if this is the case then they certainly didn't get it from the Clean Code book itself. The books very explicitly makes the point that there's no one right way and that the guidelines in the book won't apply to every situation.
- Jtsummers 5y agoThat's in the first chapter. I'll quote it here because it seems many of the objectors to the book haven't read it or haven't read this part: > Consider this book a description of the Object Mentor School of Clean Code. The techniques and teachings within are the way that we practice our art. We are willing to claim that if you follow these teachings, you will enjoy the benefits that we have enjoyed, and you will learn to write code that is clean and professional. But don't make the mistake of thinking that we are somehow "right" in any absolute sense. There are other schools and other masters that have just as much claim to professionalism as we. It would behoove you to learn from them as well. [emphasis in original]
- drewfis 5y ago> No need for code review or consultation, because you've already decided that the Clean Code Way is the right way and therefore there isn't anything to discuss. I liken the CC movement to religion - it has good intentions, but when taken too far you end up with a holier-than-thou attitude.