Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I still haven't made my way through all of the 2015 problems yet. But I don't play the game correctly any way: instead of trying to solve the problems as fast as I can, I try to write well-documented easily maintained code which runs fast. Balancing 'easily maintained' and 'runs fast' takes a little more time than 'just solve it' _and_ I'm planning on working my way through the problems chronologically, so I doubt I'll get to the 2024 problems any time this decade.


> But I don't play the game correctly any way: instead of trying to solve the problems as fast as I can, ...

FYI trying to solve the problems as fast as you can is not considered "the correct way". The author has emphasized multiple times that going for the leaderboard is not for everyone and requires a pretty questionable coding style. The main goal is to have fun and learn something new.


doesn't the existence of the public leaderboard beg to differ? :)


The fact that there are only 100 spots means it's not intended for everyone


The way I see it, it exists because it's the only one that can be reasonably implemented.


I do not disagree, but the fact that this is the only leaderboard that can be implemented does not imply that one needs to be implemented in the first place.


I try to do everything in a single pure functional expression no matter how dumb and unreadable that makes the code look.


That’s one of the many ways to do Advent of Code.


[flagged]


Why not?

It’s supposed to be fun. As long as you’re not cheating the global leader board - which this approach doesn’t - why not play however you want.

I like go to overboard writing parsers for each day.


From the about page: "... However, you should do Advent of Code in a way that is useful to you, and so it is completely fine to choose an approach that meets your goals and ignore the leaderboard entirely."


Is there really a wrong way to do it?


Yes, with ChatGPT or similar: " Can I use AI to get on the global leaderboard? Please don't use AI / LLMs (like GPT) to automatically solve a day's puzzles until that day's global leaderboards are full."

https://adventofcode.com/about


Ha! Yeah, imagine me streaming my working on AoC, basically anyone tuning in the stream would say 'you're doing it wrong, stop having fun!' and leave.


my guess is that the creator would almost certainly disagree with you




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: