5 ms·
It's not about creating a tree map, it's just about using one. Maybe even one provided by a library, doesn't matter. I'm sure that 95% of the developers will ne
by valenterry 3y ago
It's not about creating a tree map, it's just about using one. Maybe even one provided by a library, doesn't matter. I'm sure that 95% of the developers will need a tree map at least once in their career.
- Veraticus 3y agoI've been using Golang professionally for about a decade. In that time the only place I've ever needed to use a tree map was an interview that specifically called for it. Whose usage are you trying to optimize the language for? Golang is not a good academic language. But it is extremely good for actually solving problems with code.
- Mawr 3y agoA tree map is just an example. More compelling ones are sets, ordered maps, a generic sync.Map, optionals (nulls suck!), abstractions over channels - badly needed! I wouldn't consider any of those to be academic.
- kaba0 3y agoSee the example given from Kubernetes. Is that not a real codebase, or what?