Hacker News new | ask | show | jobs
by LVB 2612 days ago
It doesn't work. Not just a coding issue either, as the code matches their explanation for this "improved" method.
1 comments

> It doesn't work.

Yes, I confirmed that by pasting it into the REPL and verifying that it gives the wrong answer for a one-element list. Apparently the author failed to follow his own advice to always test code that you write.