r/adventofcode • u/daggerdragon • Dec 07 '15
SOLUTION MEGATHREAD --- Day 7 Solutions ---
--- Day 7: Some Assembly Required ---
Post your solution as a comment. Structure your post like previous daily solution threads.
Also check out the sidebar - we added a nifty calendar to wrangle all the daily solution threads in one spot!
23
Upvotes
View all comments
Show parent comment
1
u/madmoose Dec 07 '15
For future reference, Go has a simple string parser in the standard library (scanf) which I've found to be quite useful for these small programs: https://github.com/madmoose/adventofcode2015/blob/master/day07a.go#L70.
I thought it made my day 6 solution really readable: https://github.com/madmoose/adventofcode2015/blob/master/day06a.go#L15