DIP1000: Walter's proposal to resolve ambiguity of ref-return-scope parameters
zjh
fqbqrr at 163.com
Sat Nov 27 01:17:15 UTC 2021
On Friday, 26 November 2021 at 14:48:21 UTC, Paul Backus wrote:
>> ```d
>> inout int[] getSomething(inout return this, int offset)
>> @property { ... }
>> ```
Why copy `rust`.
Classes are inherently for `encapsulation`.
here is too ugly. I can use `C++` concept to implement it.
It's so simple, you don't even have to declare `this`.
`Rust` is synonymous with ugliness. Let's not copy it.
More information about the Digitalmars-d
mailing list