r/programming • • Dec 01 '15

Daily programming puzzles at Advent of Code

http://adventofcode.com/
320 Upvotes

179 comments sorted by

View all comments

Show parent comment

2

u/DolphinsAreOk Dec 01 '15

I like seeing how different coding styles are. In this case how you've taken the time to define the length once and do a type safe check though omit to define floor anywhere.

2

u/sjdweb Dec 01 '15

Missed the floor definition yes - I have edited the post.