Hacker News new | ask | show | jobs
by thmorriss 870 days ago
the clojure loop construct is often cleaner than code written to be tail recursive
1 comments

And often faster: https://medium.com/hackernoon/faster-clojure-reduce-57a10444...

Yet it’s always noted as code smell associated with “inexperienced candidates” in interviews.

For that matter, first and last too: https://medium.com/hackernoon/faster-clojure-reduce-57a10444...

The amount of paired programmers suggesting changing nths to firsts and lasts is demoralizing.