3 ms·
No 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})
by facepalm 11y ago
No 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.