3 ms·
Same language as every year, Common Lisp. I've finished all but 9 problems since 2018 using it (2019 has 5 left, 2021 has 4 left), and went back and finished 20
by Jtsummers 3y ago
Same language as every year, Common Lisp. I've finished all but 9 problems since 2018 using it (2019 has 5 left, 2021 has 4 left), and went back and finished 2015-2017 with it as my warmups for 2019 through 2022.
I usually pick a second language that I'm either curious about or want to improve with, not sure what that'll be this year. I'm starting on a temporary assignment where we'll be using a lot of JavaScript so there's a decent chance I'll use it as my second language. I usually get about half the problems done with the second language before writing two (or three last year) solutions a day becomes too much of a time sink.
For my second languages I generally try to avoid any external libraries and focus on the language standards. If I pull in anything it's regexp/parsing tools if the base language doesn't have it as part of its library. Last year I also took a heavy TDD approach on my second implementation to try out Hypothesis (property-based testing for Python, great tool). I usually do a TDD-lite approach for my first solution in Lisp.
I've used Ada (2020), Rust (2021), Python (2022), and C++ (2022).