3 ms·
I mean every language has a baked in sort function, so maybe that is a bad place to start :) Java collection signatures are not super complex but they have fun
by brianwawok 11y ago
I mean every language has a baked in sort function, so maybe that is a bad place to start :)
Java collection signatures are not super complex but they have fundamental bugs fixed in the slightly more complex scala collections type signatures.
- facepalm 11y agoNo I mean using the sort framework of Go. It takes several steps to set up a comparator function. compared to list.sort(function(a,b){return comparisonResult}) that was very demotivating to me.
- ldrndll 11y agoIt seems like quite a few people have found that the simplicity of Go's type system just winds up transferring the complexity to your code base, instead of in the language implementation. I find it interesting how divided the opinions are on this.