27

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

you are viewing a single comment's thread
view the rest of the comments
[-] lascapi@jlai.lu 6 points 8 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 5 points 8 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.

this post was submitted on 11 Jan 2024
27 points (100.0% liked)

Programming

17031 readers
319 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS