• Maya
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    4 years ago

    ugh yes. I’ve seen so much painful code at work because of overDRYing and people trying to extract things just because of length (at the expense of coherent readability) and… it just doesn’t have to be this way.

    (same way with design patterns: maybe they should start out being introduced with “if you see awkward looking code that looks like this, then consider this pattern” rather than the overly abstract “this pattern can be applied to this situation”… so many singularly implemented interfaces 😤)

    • apple_juice
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      4 years ago

      overDRYing

      This is a never ending nightmare in my job as well. How, having to ctrl + left click function after function all over a file to figure out what one particular function is doing increases readability or understandablity is beyond me. When I brought all this up I got this book as a reply…