Why is D unpopular?

Paul Backus snarwin at gmail.com
Wed May 18 16:02:52 UTC 2022


On Wednesday, 18 May 2022 at 15:34:33 UTC, Max Samukha wrote:
> I suggest the vision be to make me happy. For example, the 
> impossibility to have anonymous struct literals as the RHS of 
> an assignment (or as a function argument in general) makes me 
> unhappy. Moreover, after DIP1030 is implemented, D wants to 
> deprecate anonymous struct literals entirely, which makes me 
> the unhappiest man in the world.

Realistically, brace initialization for structs is probably never 
going to be deprecated or removed. It would cause too much 
disruption to existing code for too little benefit.

With DIP 1030 implemented, D's struct literals will achieve 
feature parity with C99's compound literals (which are also not 
anonymous--they require you to specify the type using a cast-like 
syntax).


More information about the Digitalmars-d mailing list