DIP1000: Walter's proposal to resolve ambiguity of ref-return-scope parameters

zjh fqbqrr at 163.com
Sat Nov 27 14:57:17 UTC 2021


On Saturday, 27 November 2021 at 14:35:17 UTC, russhy wrote:
> consistency!
> we have ``int*`` for pointers
> let's use ``int&`` for references
> consistency > everything else, i don't use ref because i hate 
> typing it, same for immutable

D's main selling point is elegance.
Sometimes, I think `C++` is more elegant than `d`. It's totally 
incredible.
We need to slash something and simplify something.
No programmer don't want to be lazy. No one wants to type 
more.the same for the `libwriter`.



More information about the Digitalmars-d mailing list