named arguments, string interpolation, please stop.

zjh fqbqrr at 163.com
Thu Jan 11 14:22:52 UTC 2024


On Thursday, 11 January 2024 at 13:46:26 UTC, Hipreme wrote:

> ```d
> A a = A(50, 100); //Does the same as C++ {} syntax
> ```


VS:

```d
//C++:
A a{50, 100};
```


`a struct with 10+ members` is not a good `design`!


More information about the Digitalmars-d mailing list