Seeing that Uncle Bob is making a new version of Clean Code I decided to try and find this article about the original.

  • Lysergid@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    Folks really trying to argue about example code. Even created “global state” straw man. Here is secret - if you are using global state then code is shit in the most cases.

    • BatmanAoD@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      It’s not a strawman, though, because Martin’s actual example code in the book is like this, including a full module he rewrites toward the end.