Advent of Code 2022: Dart Edition

A great way to learn Dart and have fun in the process

Tim Sneath
3 min readDec 25, 2022

Happy Christmas! This year’s Advent of Code is over, and it was tremendous fun as always. I’ve enjoyed doing the (easier) challenges over the years, but this year we thought it would be fun to have a private leaderboard for Dart entries.

This was a spur of the moment thing on our part, and we launched it just with a tweet:

We had some great participation from all over the world, with nearly 150 people signing up to join us.

The team at Invertase got in on the fun, and kindly offered to send some swag to the top five entrants. Lots of folk had fun:

The winner was Meï (@meixdev), who just pipped second-place Darren Austin from our own Flutter team at the finishing line. Meï is in France, so had to get up at 6am each morning to start the challenge as each day was released.

Some people tried using ChatGPT to build their Dart solutions, which was an interesting approach, but ultimately unsuccessful.

Particularly fun is that many folk published their solutions to GitHub, making it easy to compare different approaches. Here are some of the winning Dart repos:

It’s not too late to do the challenges, by the way. I’m planning to continue working away at my own solutions in spare time over the coming weeks, without the pressure of competition or it taking time away from my other programming hobby projects.

To close, I want to give a giant shout out and thank you to Eric Wastl, who is the creator of each year’s Advent of Code challenge. This is a tremendous amount of work each year: creating interesting challenges, building and maintaining site infrastructure, dealing with technical support questions and fending off malicious actors. He has given a lot of us a great deal of pleasure. If you’ve had some fun from Advent of Code this year, do send him a token of your appreciation, which will I’m sure be an encouragement for future years.

--

--

Tim Sneath
Tim Sneath

Written by Tim Sneath

Director for Developer Tools and Frameworks at Apple. I used to run Flutter and Dart at Google.

No responses yet