Deep nesting vs early returns
Trass3r
un at known.com
Thu Oct 4 07:51:59 UTC 2018
On Tuesday, 2 October 2018 at 18:14:55 UTC, Andrei Alexandrescu
wrote:
> Kate Gregory makes a good argument on something I've often
> commented in code reviews: https://youtu.be/n0Ak6xtVXno?t=2682
Sean Parent covered early exits years ago in an excellent talk I
just can't find anymore (maybe someone can point me to it?).
He nicely described how all that nesting builds up a huge context
you need to keep in your brain while trying to reason about the
function.
More information about the Digitalmars-d
mailing list