The book “Tidy First?” introduces the concept of “tidyings,” which are small refactorings that don’t change program behavior, but make it easier to implement behavioral changes. It’s important to structurally prepare code before implementing behavioral changes. A balance must be struck between the time value of money and optionality in software, highlighting the need to create a structure that supports quick changes.

I stole the summary from https://tldr.tech/webdev

  • @lascapi
    link
    English
    66 months ago

    I have noticed that many developers are reluctant to introduce explaining variables/constants.

    I do, and it’s very helpful for me and my futur me and the other one.

    • @nieceandtows@programming.dev
      link
      fedilink
      English
      56 months ago

      Yeah my own code is greek and latin to me if I come back a few months later. Excessing logger statements and descriptive variable/function names save my bacon more than I can admit.