I think 90% of the reason I enjoy the Advent of Code problems is it's the most targeted venue I have to do test-driven-development. Well-defined problems, example inputs/outputs, no legacy baggage, etc.

TDD isn't a panacea, but there's something therapeutic about a concise red/green/refactor loop.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!