re: AoC Day 3: No Matter How You Slice It VIEW POST

re: Part 1 and 2 in 25 lines of brute force Ruby: CLAIM_REGEX = /#(?<id>\d+) @ (?<offset_x>\d+),(?<offset_y>\d+): (?<delta_x&...

Wow, this is really clear and nice! Ruby has so. Many. Convenience methods that I really miss when I go to other languages sometimes.


Indeed :-) Of course this isn't really code I'd write for a production app, but I have to do that all day anyway... For me the purpose of AoC is recreational programming, i.e. having fun, exploring and just doing things because you can.

code of conduct - report abuse