News for hackers. Stuff that matters.
Re:Go says Wat by masklinn on Sunday September 09, 2018 @07:52AM (#17945468)
> I mean, by that measure C/C++ and many others have the same problems.

No. C only has raw pointers so it's not trying to pretend slices are vectors, and C++ has actual functioning vectors with "slicing" being either a copy of the subvector or an iterator. Either way there is no confusion as to the capabilities of what you're given and its relation to the original data.

There are no comments on this comment yet.