On Thursday, 18 March 2021 at 17:57:30 UTC, Patrick Schluter wrote:
It's important to understand that [] is just a practical syntax for a fat pointer.

Thinking of [] just as a fancy pointer helps imho to clarify that the pointed to memory nature is independant of the pointer itself.

I think they are arrays alright. What's missing is expression of ownership, because D follows traditional language design approach, and traditionally ownership wasn't expressed in language and was done by convention.

Reply via email to