by TheHalfDeafChef · 5y ago · 0 comments
[edit: fixed typo]
You're going to hate your former cleverness then.
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.
That's what the oncall bonus pay is for.
Additionally, doesn't this somewhat also bring in the methodology of dealing with the error cases first?