The implicit slice is one of what I see as D's design flaws and brings up a number of problems. dip1000 and similar things might be able to fix the problems without changing the feature, but I won't be surprised if after a couple more years, we see that implicit slice get deprecated.
Re: Go Your Own Way (Part One: The Stack)
Adam D. Ruppe via Digitalmars-d-announce Fri, 07 Jul 2017 06:51:06 -0700
I would add a note to the "static arrays are interchangeable with
dynamic arrays" saying that you can... and probably should
explicitly slice them with `[]`.
- Go Your Own Way (Part One:... Mike Parker via Digitalmars-d-announce
- Re: Go Your Own Way (... via Digitalmars-d-announce
- Re: Go Your Own Way (... Adam D. Ruppe via Digitalmars-d-announce
- Re: Go Your Own W... Guillaume Piolat via Digitalmars-d-announce
- Re: Go Your Own W... Jonathan M Davis via Digitalmars-d-announce
- Re: Go Your O... H. S. Teoh via Digitalmars-d-announce
- Re: Go Your Own Way (... Steven Schveighoffer via Digitalmars-d-announce
- Re: Go Your Own W... Steven Schveighoffer via Digitalmars-d-announce
- Re: Go Your O... Walter Bright via Digitalmars-d-announce
- Re: Go Yo... Mike Wey via Digitalmars-d-announce
- Re: Go Yo... Steven Schveighoffer via Digitalmars-d-announce