From TFA: "These examples are written in neutral pseudocode that should be adaptable to most any imperative language."
False. The examples are written in Go, a generally easy to read language. Maybe the author thought it is a funny joke. Low bar :)
False. The examples are written in Go, a generally easy to read language. Maybe the author thought it is a funny joke. Low bar :)
But not necessarily so, #3 and #4 are just godawful.
edit: and as you point out below, Go's sorting interface is completely alien and doesn't easily translate to any other language.
Shoulda just gone with python, rust, c, crystal lang.. anything else for sorting!