News for hackers. Stuff that matters.
Re:Go is not an easy language by d3nj4l on Monday February 22, 2021 @12:20AM (#26221145)
The advantage here isn’t that it’s ergonomic, it’s that if I get an “unknown” array I have no special knowledge about, I can simply use list.delete instead of having to write a linear delete and sleep soundly in the knowledge that it’ll have well-known performance characteristics for that case. If I know something special about an array, I’m still free to write my own deletion algorithm, and nobody would fault you for that.

There are no comments on this comment yet.