Good code is like a love letter to the next developer who will maintain it
11–20 of 274 posts
Re: Good code is like a love letter to the next developer who will maintain it
#12Re: Good code is like a love letter to the next developer who will maintain it
#13And remember, the next maintainer could very well be you.
Re: Good code is like a love letter to the next developer who will maintain it
#14As much as bad code irritates me, I'm not quite so quick to blame the original maintainer - they may well have wanted, badly, to write something better, but been put under artificial (and usually meaningless) time pressure that didn't allow it.
Re: Good code is like a love letter to the next developer who will maintain it
#15More importantly: metaphors are not a healthy way to understand an idea. Ideas are more nuanced than a metaphor could possibly account for. Abstaining from metaphors might not make for a catchy headline though.
Re: Good code is like a love letter to the next developer who will maintain it
#16Sorry next developer, I'm on a tight deadline, used to love this craft, now I just do what the product people tell me to get a nice paycheck.
Re: Good code is like a love letter to the next developer who will maintain it
#17And remember, the next maintainer could very well be you.
Yeah, it's humbling enough when you are reviewing some old code and thinking "what idiot wrote this" only to git blame and realize it was you. What's even more jarring when you find some code, surprised the capability/feature even exists, then git blame and realize again it was you (this time hopefully with a pat on your own back because of how well it's written). Yes this has happened to me.
Re: Good code is like a love letter to the next developer who will maintain it
#18Re: Good code is like a love letter to the next developer who will maintain it
#19Re: Good code is like a love letter to the next developer who will maintain it
#20In my opinion, good code is like a Brita filter. It does its job, will one day need to be replaced, and it should be easy to replace. More importantly: metaphors are not a healthy way to understand an idea. Ideas are more nuanced than a metaphor could possibly account for. Abstaining from metaphors might not make for a catchy headline though.
But "the map is not the territory"!