Why is `scope` planned for deprecation?

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 15 23:14:55 PST 2014


Am 16.11.2014 um 05:51 schrieb Walter Bright:
> On 11/13/2014 3:44 AM, Manu via Digitalmars-d wrote:
>> After having adapted to D and distancing from C++, trying to go back
>> is like some form of inhuman torture!
>> I really don't remember it being as bad as it is... the time away has
>> given me new perspective on how terrible C++ is, and I can say with
>> confidence, there is NOTHING C++ could do to make itself a 'better
>> option' at this point.
>
> What I find odd about the progress of C++ (11, 14, 17, ...) is that
> there has been no concerted effort to make the preprocesser obsolete.
>

What about templates, compile time reflection, modules and compile time 
code execution?

No need for the pre-processor other than textual inclusion and 
conditional compilation.

--
Paulo


More information about the Digitalmars-d mailing list