DIP1000: Walter's proposal to resolve ambiguity of ref-return-scope parameters
zjh
fqbqrr at 163.com
Sat Nov 27 01:10:37 UTC 2021
On Friday, 26 November 2021 at 15:42:13 UTC, Nick Treleaven wrote:
> See this post for why C++ `&` is more complicated and harder to
> understand than D `ref`:
> https://forum.dlang.org/post/rlssnqdidtsqjwxpmudb@forum.dlang.org
`C++` references, which look complicated, are actually simple.
And D `ref`, no matter what, I hate it.
A '&' is `Ok`,why not `use` it?
There are too many 'attributes', can we delete? I'm writing
functions, not `attrs`.
More information about the Digitalmars-d
mailing list