6 ms·
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,
by djpilot 7y ago
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 :)
- nightraven97 7y agoCame here to say the same thing. xD
- deleted 7y ago[deleted]
- deleted 7y ago[deleted]
- masklinn 7y ago> The examples are written in Go, a generally easy to read language. 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.
- djpilot 7y agoAgreed, the sort interface in go is one of the worst parts, and doesn't translate to any other language I'm familiar with. The article was mildly entertaining but by the end left much to be desired. Shoulda just gone with python, rust, c, crystal lang.. anything else for sorting!