The best coding advice that was ever given to me

Basile B. b2.temp at gmx.com
Wed Dec 30 04:25:35 UTC 2020


On Wednesday, 30 December 2020 at 03:08:14 UTC, Adam D. Ruppe 
wrote:
> On Wednesday, 30 December 2020 at 03:06:49 UTC, Mathias LANG 
> wrote:
>> In DMD's defense, the adage used to be "only have one exit 
>> point per function".
>
> that was prolly because it was before the age of scope guards...

There was also the problem of DMD inliner that didn't like much 
early returns; although the situation toward this problem migh be 
better nowadays.


More information about the Digitalmars-d mailing list