`ref T` should be a type!!

Walter Bright newshound2 at digitalmars.com
Tue Apr 2 08:11:31 UTC 2019


On 4/1/2019 5:55 PM, Atila Neves wrote:
> Factually incorrect.

I suspect Rubn has confused the syntactical conflation of arrays with pointers 
in C, and the implicit coercion of arrays to pointers, as them being the same. 
They simply aren't the same, as they are semantically separated by one level of 
indirection.

I wrote an article about it calling this "C's Biggest Mistake", as this has led 
to decades of crashes and malware infestations:

https://www.digitalmars.com/articles/b44.html


More information about the Digitalmars-d mailing list