• BradleyUffner@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      4 days ago

      A code smell isn’t supposed to be automatically bad. A smell is an indication that something might be wrong. Sometimes using a smelly pattern is legitimately the only way to do something.

    • pcouy@lemmy.pierre-couy.frOP
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      3 days ago

      Apart from the fact that, as another commenter said, “smells” are not “rules”, I think most of these points come down to developing good habits, and ultimately save a lot of time in the long run by initially spending some time thinking about maintainability and preventing/limiting technical debt accumulation.