Hacker News new | ask | show | jobs
by mikewarot 1832 days ago
Advent of code is an interesting set of challenges, with a generally rising set of complexity. There are 6 years worth of 25 challenges.

https://adventofcode.com/

3 comments

Another +1. These can be great ways to learn new languages. The later stages can be quite difficult but there’s so many years worth of challenges to mine from I can guarantee you won’t get bored even with the more basic problems.

If you get stuck on a solution chances are someone else has already solved it in your language of choice which can also be great for learning.

Another voice for AoC.

It should make you have go into text and file processing (including regexps) and basic data structures (lists/arrays, hashmaps, trees, graphs). Maybe GUIs or image processing: it's never essential, but sometimes it helps in debugging a puzzle, or it's just fun to make a visualization of the solution. Even simple parsers.

However, typically you wouldn't touch things like async, networking or writing a server. Though you could try writing an HTTP API client that automates downloading inputs, many people do it.

I'd still recommend it mostly because it's very fun, in my experience, which keeps you motivated.

+1

In the past I have made a point of doing AOC in a language I didn't know or was planning to learn. Maybe rust this year...?