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