Trying to understand multidimensional arrays in D

Mike Parker aldacron at gmail.com
Tue Dec 22 16:55:40 UTC 2020


On Tuesday, 22 December 2020 at 15:31:06 UTC, Rekel wrote:

>
> Don't take that as a defence of changing pointer syntax by the 
> way, just noting I think the argument pointers and arrays 
> should be defined using a similar syntax is not consistent when 
> thinking about indexing & dereferencing.
>
> Besides, I think '[4]foo* foos;' is quite clear.
> "array of foo pointers" seems very natural to me.

Ugh. No thanks :-) My brain would short circuit every time I see 
it.


More information about the Digitalmars-d-learn mailing list