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

Walter Bright newshound2 at digitalmars.com
Sat Nov 27 18:28:51 UTC 2021


On 11/27/2021 6:35 AM, 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

There's almost nothing consistent about the way & is in C++.


More information about the Digitalmars-d mailing list