• olafurp@lemmy.world
    link
    fedilink
    arrow-up
    39
    arrow-down
    2
    ·
    1 year ago

    You can use all the classes, patterns, functions, methods you want but if it’s not readable it’s garbage.

    • lysdexic@programming.dev
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      2
      ·
      edit-2
      1 year ago

      but if it’s not readable it’s garbage.

      Readability is often in the eye of the beholder, but knowing that a component implements a design pattern is all you need to know how it’s used without even having to peek at the code.

      I think the most vocal critics of design patterns are those who are clueless about design patterns, and they are criticising their use just because they are scared of stuff they don’t know.