by bashbjorn · 5y ago · 0 comments
While I think python is a really great language for advent of code, I'm not sure I'd recommend going for an OOP-heavy style. Although that might just be a matter of personal taste - I think OOP is a poor strategy for most problems.
I first heard of people doing this for codejam, and it works just as well for AoC
My 2c from the experience,
* I hated Go for this style of programming, but I could see it being good for some production-ready code
* Rust should be renamed to Rustcargo. Even for the most basic of tasks it seems like these two are welded together.
* I still really like Nim as a replacement for Python in my toolbox
I much prefer RustCargo to C++BringYourOwnShittyBuildSystem! Cargo definitely one of the bright spots in Rust imho.
For something like Advent of Code, though, I'd avoid it. It's just me and it's not for long; there's no need for me to be explicit about how I'm thinking about the problem.