• Prunebutt@slrpnk.net
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    I don’t really get the hate he gets in the other comments. Are you all joking, or can someone elaborate? I always liked what I’ve read/heard of Bob.

    • Carighan Maconar@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      Personally I have been around longer than him but I used to like his stuff at first.

      As I’ve coded more and more on stuff that is built not only on legacy code but specifically legacy code by coders influenced substantially by clean code… damn has this single author given me a headache like nothing else ever has.

      The level of inane unmaintainability and complexity achieved by younger coders being encouraged or forced to code “clean” is remarkable.

    • ByteOnBikes@slrpnk.net
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 month 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.

    • asyncrosaurus@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      It’s a beginners book filled with a mix of bad and good advice, which takes considerable experience to separate the two. Those who can point out all the bad advice already don’t need the book, and newer developers will pick up absolutely atrocious coding advice. There’s simply better books that target beginners better, like The Pragmatic Programmer.

      So when you are on-boarding junior devs that have bought into the clean code/SOLID dogma, you’re spending several months beating all their terrible coding habits out of them.