r/adventofcode • u/taliriktug • Dec 02 '15
Spoilers Day 2 solutions
Hi! I would like to structure posts like the first one in r/programming, please post solutions in comments.
15
Upvotes
r/adventofcode • u/taliriktug • Dec 02 '15
Hi! I would like to structure posts like the first one in r/programming, please post solutions in comments.
View all comments
Show parent comment
1
u/aveavaeva Dec 03 '15
Sure that's smaller and simpler but I prefer to keep solutions easily understandable as much as I can. I have used the sort for the ribbon part though. There are many more things in the solution that can be skimmed down but for the sake of understandable code I decided to keep it this way.
Peace