Why I chose D over Ada and Eiffel

Wyatt wyatt.epp at gmail.com
Tue Aug 20 07:34:32 PDT 2013


On Monday, 19 August 2013 at 21:19:05 UTC, H. S. Teoh wrote:
>
> scope guards. If I were granted a wish for how to lessen the 
> pain of
> coding in C, one of the first things I'd ask for is scope.

A little OT at this point, but C Survival Kit might have you 
sufficiently covered:
https://github.com/chadjoan/C-Survival-Kit/blob/master/survival_kit/feature_emulation/scope.h
(Been considering pulling this in at work, too.)

-Wyatt


More information about the Digitalmars-d mailing list