adiwan (adiwan)'s status on Friday, 20-Dec-24 13:04:41 UTC
-
@zeldatra At least you got practice, even when it's not the best. I'm a software developer for over 7 years and in my last project (ended a few days ago) it is littered with crimes I did. Mostly because I was not given enough time to do it properly. It is of great value to know which "technical debt" one has caused and how to mitigate it next time. There are only a few principles one has to follow to write good code like writing modular code that has as few dependencies as possible to solve the problem, naming the variables and functions and classes clear enough such that they convey their intent unmistakably, and writing code that can be reused. The last point is a nice to have but for a small project it is probably too much hassle except it is really needed more than once in the program. Otherwise software is malleable enough to be rewritten with the power given by the knowledge of hindsight, meaning good ol' refactoring.