News for hackers. Stuff that matters.
Re:Removing Array Duplicates by masklinn on Friday April 12, 2019 @02:44AM (#19642545)
> 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.

Re:Removing Array Duplicates by djpilot on Friday April 12, 2019 @03:04AM (#19642651)
Agreed, 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!