by desdiv · 12y ago · 0 comments
How is that different from the 40 years old Unix utility indent? Pretty much every single non-trivial programming language has its own code formatter. Auto code formatting is neither novel nor unique to Go.
http://linux.die.net/man/1/indent
with this: https://golang.org/cmd/gofmt/
even just by line count, you'll see the difference in philosophy.http://stackoverflow.com/questions/19946992/sorting-a-map-of...
(shortest way to sort an array of a custom datatype in go is around 50 lines of code, and requires you to write a custom sorting class)