4 ms·
A lot of the code you're going to have to be dealing with in the wild is going to look fine, until it breaks at 2am on a Saturday and you're 3 drinks in and pro
by t-writescode 6y ago
A lot of the code you're going to have to be dealing with in the wild is going to look fine, until it breaks at 2am on a Saturday and you're 3 drinks in and production is down.
You're going to hate your former cleverness then.
- tantalor 6y agoThat's why I abstain when I'm oncall (or backup). That's what the oncall bonus pay is for.
- t-writescode 6y agoReplace alcohol with 2 hours of sleep, then :)
- TeMPOraL 6y agoThere should be a rule that forbids applying this reasoning to code that isn't triple-nested template SFINAE mess, or a code-generating-code-generating-code-generating-code Lisp macro. This pattern isn't "cleverness", it's just a readability-improving trick that's cheap to figure out. The hundred seconds you spend on it seeing it for the first time is a one-time cost.
- deleted 6y ago[deleted]