Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Can you solve it? The Greplin programming challenge. Parent comment
I think Clojure might've made things a tad easier (given all its sequence functions), but I'm just learning it, so Ruby all the way.
That said, finding the palindromes in Ruby took me about 12 lines of code (less if I didn't structure it using methods).
There are no comments on this comment yet.
I think Clojure might've made things a tad easier (given all its sequence functions), but I'm just learning it, so Ruby all the way.
That said, finding the palindromes in Ruby took me about 12 lines of code (less if I didn't structure it using methods).