Linear code is more readable - eviltoast
  • oldfart@lemm.ee
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    If the chef wants 15 toppings, then you start abstracting it. There’s no point in overengineering.

    • UlrikHD@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Might as well start with a solid foundation from the start though. The extra work is minimal so there isn’t much of a time cost to it. I wouldn’t call it overengineering, it’s just a different way to write code, and the way many naturally default to without really thinking about it.

      • oldfart@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Maybe it’s just me being bad at programming, but I used to do the right-hand style of programming and usually ended with wrong abstractions that were holding back development as requirements changed.