Comment by vidarh
2 hours ago
The point was that logically it would be an array lookup by index.
There's no need for any conditional construct here whatsoever.
You'll note it has already constructed a string in the right order to do that, but then copped out with the if-else.
No comments yet
Contribute on Hacker News ↗