3 ms·
I rarely find myself thinking "this code sucks." Usually it's "this code is typical." Sometimes, it's "this code was designed to solve a problem we no longer
by Goladus 16y ago
I rarely find myself thinking "this code sucks." Usually it's "this code is typical." Sometimes, it's "this code was designed to solve a problem we no longer have and gets in our way solving the new problem."
Either way, sometimes I do in fact see code ('not-invented-here') that clearly does not suck. It's concise, modular, comprehensive, and easy to trace and modify. There's a consistent and seemingly effortless balance abstract and domain-specific functions and logic. There might be jokes and humor in the code, but nothing that ever gets in the way of understanding. Nothing like "hmm I don't really know what to call this temporary variable so I'll make up a funny name for it"