3 ms·
In my experience, there are no absolute rules for “good code”. There is a lot of good advice out there, but ultimately the best predictors of good code are 1) e
by epgui 4y ago
In my experience, there are no absolute rules for “good code”. There is a lot of good advice out there, but ultimately the best predictors of good code are 1) experience, and; 2) caring.
I’ve been in extremely frustrating situations where horrible horrible code gets steamrolled into production systems because of <arguments>. However, in nearly every single case that wasn’t a well-intentioned junior, the bad code was almost never the result of following bad advice: it was the result of the engineer not caring.
Start with caring and empathy, and always worry about how “nice” your code is. That’s how it’ll get better.