C++17 Init statement for if/switch

SrMordred via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 16 07:19:59 PDT 2017


On Tuesday, 15 August 2017 at 21:05:09 UTC, bachmeier wrote:
> On Tuesday, 15 August 2017 at 20:31:50 UTC, Jonathan Marler 
> wrote:
>
>> Without alot of usage, it will just be an esoteric construct 
>> that looks confusing to the average developer.
>
> That is correct. After a while it gets tiring to see a 
> neverending stream of complexity added to the language while 
> things that would actually help (like IDE support) do not get 
> any attention. As a general rule, if it's being added to C++, 
> it's probably a bad idea.

There are two thinks of c++ that I miss a little on D:
- Structured binding
- Uniform initialization

But in general, I agreed with you.


More information about the Digitalmars-d mailing list