• ByteOnBikes@slrpnk.net
    link
    fedilink
    arrow-up
    51
    arrow-down
    5
    ·
    edit-2
    5 months ago

    I’m not as much vitriol as others about Clean Code, but I will argue that engineers who preach the book as some sort of scripture are really obnoxious.

    I love the Single Responsibility Principle, in theory.

    What I don’t like is when devs try to refactor everything to that idea to achieve “Clean Code”. I’ve seen devs over-architect a solution, turning one function into many, because they don’t want to break that rule. Then point to this book as to WHY their code is now 20x longer than it needs to be.

    It also doesn’t help that every recommendation about good programming books include this.

    It’s like recommending a Fitness book from the 70s - information made sense at the time, but new research has made a lot of the advice questionable.

    My main issue is the whole “Uncle Bob” persona. Robert C Martin is sexist and a racist, and has been uninvited by conferences. We don’t need that type of toxicity in the industry.