C++17 Init statement for if/switch

Joakim via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 16 05:58:03 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.

+1, though I'd go for bug-fixing over IDEs.  It was ridiculous 
that we were spending time discussing a marginal feature like 
scoping imports for module-scope template constraints, ie DIP 
1005, when normal scoped and selective imports are not used that 
much yet, as evidenced by latent bugs like this symbol leak:

https://issues.dlang.org/show_bug.cgi?id=17630

> As a general rule, if it's being added to C++, it's probably a 
> bad idea.

Lol. :D


More information about the Digitalmars-d mailing list