What's a lesson that you can only learn through experience?

twitter logo github logo ・1 min read

Maybe this is just a way I rationalize all the mistakes I've made, but I truly think there are certain lessons in life that you can't really learn from others, you just have to experience a hurdle yourself to understand how to avoid it in the future.

What are some lessons like this in programming/tech?

twitter logo DISCUSS (2)
markdown guide
 

Personally, I keep having more and more "aha!" moments around maintainability, as I gain exposur to long-running code bases, and how they evolve. How, in some places, layers are added upon layers to taper over old design decisions.

Also the design of a public API is incredibly important, because unless your users are likely to keep up with new versions of your software, you can only make backwards compatible changes.

 

For me, a lot of the SOLID rules were hard won, and writing code for future me to debug. Good logging/tracing, you only get right after the Heisenbug in production!

Classic DEV Post from Jan 10

What should production CSS look like? Share your layout-to-web workflow

How does I write good CSS?

Frederik πŸ‘¨β€πŸ’»βž‘οΈπŸŒ Creemers profile image
I'm never sure what to put in a bio. If there's anything you want to know, don't be afraid to ask!