This community answer is for collecting answers in languages with built-in do most of the works, according to this proposal.
However, it was not well received, and here are some possible causes:
It had no code in the first place.
It might have forced some users to submit their answers there, given that a Mathematica answer (you can only see it if you have the required privilege) was downvoted immediately and thus deleted by its poster, and this might make the poster think their work is not rewarded.
The answer in question and the challenge were downvoted.
A huge comment clutter was generated because of some degree of opinion.
How should we handle such situations? Should someone that already has one/more trivial answer(s) put xnor's proposal in practice instead of the OP, or we shouldn't do such things at all? Is this valid by our standards, given that it doesn't provide any solution to the challenge (at the moment of writing)?