Trying to understand multidimensional arrays in D

Rekel paultjeadriaanse at gmail.com
Tue Dec 22 13:59:54 UTC 2020


On Tuesday, 22 December 2020 at 07:19:49 UTC, Ali Çehreli wrote:
> Let me try the history example:
>
>   Row[4][] history;
>
> Row array (of 4) array.


> Fully disagreed: D's array syntax makes me happy; designed 
> right. :)

I think i see your point, strange how a change of words makes 
some things make more sense. I'll do my best to think of it like 
that, even if i find it intuïtive. 😅

I am curious by the way, what do you think of the [][4]Row 
suggestion I gave? In a way you'd have your 🍰 & could eat it too, 
i think ^^
(Still a strange saying to me)




More information about the Digitalmars-d-learn mailing list