2 ms·
The problem is that the source material (the Clean Code book in this case) has almost no caveats. And it rarely acknowledge other styles or points of views. For
by whstl 3y ago
The problem is that the source material (the Clean Code book in this case) has almost no caveats. And it rarely acknowledge other styles or points of views. For example, when the book discusses possible objections to having "lots of small functions", it simply doubles-down, suggesting also having tons of small classes, and rationalizes it. Experienced developers know that reality is a bit more nuanced than that.
This is actually a big reason for the popularity of the book, showing a "one true way".
And this carried on to followers of the style. Some linters even enforce the style without much regard for the practicality of it.