Some stuff I learned: Don't write/use abstractions you won't understand later. Often you start with 2-3 copies, try to merge them and end up using it at a place were it doesn't fit 100% anymore. Keep nesting low. Often it's faster to scroll over one big okay-ish structured function than to find all the clean tiny things around the the project. Same goes with Objects/Classes/Components etc. Stop using abbreviations an…
> Keep nesting low. This so much. One of the bigger differences between academic and professional coding is software system longevity. Premature refactoring is incredibly harmful to readability. 1. You have no idea what the future will require. You will always know more about the requirements in the future. 2. You have no idea how the current use and system will need to evolve. You will always learn more about this i…
Is that a thing? If it is, I've never run into it. I always run into the opposite - never refactoring and everything turning into a god object. It never occurred to me that premature factoring would be bad because I can't recall ever running into it!