News for hackers. Stuff that matters.
Re:Go 2 Draft Designs by TheDong on Wednesday August 29, 2018 @12:47PM (#17869691)
> But higher level data structures like lists, sets, maps etc. are all implemented using those primitives under the hood

In Go you don't have generics as a primitive with which to build those things.

As a result, you don't have the building blocks for anyone to build a usable data structure unless it's baked into the core of the language.

Re:Go 2 Draft Designs by uryga on Wednesday August 29, 2018 @01:11PM (#17869901)
I'm aware of that, and I read the generics proposal linked. I commented here because I wanted to respond to this:

> Should [be just libraries]? I think you are asserting facts that are not in evidence.

I tried to describe why I feel that go's collections should be libraries and not builtins, and hopefully understand why GP seemed like they were questioning that idea.