Deep nesting vs early returns

Stanislav Blinov stanislav.blinov at gmail.com
Mon Oct 8 12:49:07 UTC 2018


On Friday, 5 October 2018 at 21:34:38 UTC, Jonathan M Davis wrote:

> It's one of those things that I would have thought would just 
> be obvious with experience, but if nothing else, some folks 
> still try to stick to the whole "single return" idea even 
> though I think that most folks agree at this point that it 
> causes more problems than it solves.

Sadly, one of these "folks" is DMD's inliner. Then again, returns 
aren't it's only bane.


More information about the Digitalmars-d mailing list