named arguments, string interpolation, please stop.

zjh fqbqrr at 163.com
Thu Jan 11 13:42:20 UTC 2024


On Thursday, 11 January 2024 at 13:34:24 UTC, zjh wrote:
>
> Just like a `task scheduler`, various tasks need to be arranged 
> `reasonably`.

```d
///compiles
A a = {
    a: 50, b: 100
};
```

Why can't we construct it directly like C++?

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


More information about the Digitalmars-d mailing list