3 ms·
Pfft on immaculate, well factored code. All glory to battle hardened code that does the business everyday. Of course it would be better to have both. But don't
by ageofwant 11y ago
Pfft on immaculate, well factored code. All glory to battle hardened code that does the business everyday.
Of course it would be better to have both. But don't dismiss code that survived the withering infernos of real world use. All those edge hacks are there because they probably need to be.
- oblio 11y agoVim code predates a lot of modern best practices. It's not all cruft a la Spolsky's blog post. Some of it is just goo.
- ed_blackburn 11y agoI completely appreciate that. 'Tis always a case of striking a balance. Even battle hardened code with countless edge-cases can be well factored. A system programmer whose opinion I trust greatly recently advised me to look at the postgress code for well factored, battle hardened code. I've heard others suggest that libgit2 is similar. I don't feel confident / qualified enough to comment.