News for hackers. Stuff that matters.
Re:Learn Go in five minutes by erik_seaberg on Tuesday January 05, 2021 @03:51PM (#25650842)
Slices are kind of a mess. They should either be uniqueness types or passed by reference (the way maps and channels are, and NIO buffers from Java). Instead they’re passed by value so multiple copies exist whose sizes and sometimes contents aren’t in sync.

There are no comments on this comment yet.