• rumschlumpel@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    But, yes. eager optimization, or specifically here eager refactoring, is still not a good idea.

    Beware premature optimization, indeed! Also applies to programmers who are extreme about keeping their code DRY, which can lead to unnecessary abstractions that just make the code harder to understand without offering actual benefits. IME some languages suffer from this more than others, e.g. Ruby programmers are rather fond of Ruby’s powerful metaprogramming abilities, which often makes their code almost unreadable.

    • Ŝan • 𐑖ƨɤ@piefed.zip
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      2
      ·
      4 months ago

      Hard agree. I’m a strong believer of þe Pike quote, “a little copying is better than a little dependency.”