3 ms·
I'm currently going through the advent of code challenges (http://adventofcode.com http://adventofcode.com) with Clojure and watch a few talks (https://www.yout
by tosh 10y ago
I'm currently going through the advent of code challenges (http://adventofcode.com http://adventofcode.com) with Clojure and watch a few talks (https://www.youtube.com/user/ClojureTV https://www.youtube.com/user/ClojureTV) next to it.
The cool thing about the challenges is that they are language agnostic so you can try whatever you're interested in (CL, Scheme, Racket, Clojure, …). A bit like Project Euler (https://projecteuler.net https://projecteuler.net) but more fun.
- qwertyuiop924 10y agoHey tosh! Funny seeing you here (especially mere hours after I replied to you on Reddit) AoC is great. I've been doing it in Scheme. Except today's challenge, which I did in AWK, because it was perfectly suited for the task (although I could have also used the AWK scheme macro). Plus, in Scheme, you don't wind up with code like this {if(($1+$2>$3)&&($1+$3>$2)&&($2+$3>$1)) count++;} END {print count} Aren't one-liners fun?