I am attempting Advent of Code this year for the first time and posting my solutions in Rust. I welcome beginner questions on the issue tracker! github.com/BurntSushi/adventβ¦
3
23
112
Your approach to day4 was a tad wordier than mine but seems to have been similar. I'm trying to do your thing of not panic!()ing etc. It has been instructive in error propagation for me :-D
git.gitano.org.uk/personal/d⦠if you're interested :-)
1
Nice! But yeah, I'm really not happy at all with my day 4 answer. I think the code could be much clearer than what I wrote. But yeah, this is a really excellent opportunity to get some error handling experience. :-)
1
Also, do you know of any serde type thing where I could annotate a struct with a regexp with named captures of the fields, and have a derived parser for cheap?
Dec 4, 2018 Β· 4:34 PM UTC
1

