• NotMyOldRedditName@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    7 months ago

    Not gonna lie, writing code in various ways can be more efficient processing time wise, but often at the cost of complexity, or readability or time to code it.

    As phones have gotten faster, and depending on what I’m working on, I’ll often take the easier to code and read route than the absolutely best optimized route.

    Although there are definitely times you still need to optimize

    • jorp@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 months ago

      It’s less about individual developers writing bad code and more about whole inefficient frameworks gaining popularity because of ease of use or deployment

      • NotMyOldRedditName@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        Are those frameworks so poorly written they can’t be optimized then? That’d have a pretty substantial impact if widely adopted.

        • jorp@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          7 months ago

          I’d argue that’s true in some cases, for example web apps might work well enough on modern device hardware but they’ll never meet the performance of even mid-tier native apps