Straight Forward Arrays
Jesse Phillips
Jesse.K.Phillips+D at gmail.com
Thu Oct 5 16:57:00 UTC 2023
On Wednesday, 4 October 2023 at 10:51:46 UTC, dhs wrote:
>
> D and Go slices have advantages but can be confusing. I don't
> have a solution, but if anyone is interested, the relevant
> discussions about slice confusion in the Go community apply to
> D slices as well.
I don't believe slice confusion in D is the same as God.
https://he-the-great.livejournal.com/48672.html
D manages to avoid stomping, while Go provides no clear ownership
when slices are at play.
And here is the slices explained
https://dlang.org/articles/d-array-article.html
More information about the Digitalmars-d-learn
mailing list