logoalt Hacker News

tito • today at 3:18 PM • 4 replies • view on HN

I’m not much of a coder. I’ve tried Advent of Code several years in a row. I never got very far.

I have this funny belief that sounds something like this: learning happens fastest when the next adjacent step is within a certain mental distance. Too far and you just get stuck. Too small and well you don’t learn something new.

And for me, Advent of Code has simply been too big of a mental leap.

This year I’m excited to try it with Claude! An attempt to shrink that mental distance. The risk is it becomes too small and I learn nothing.

If there’s others here who want to compare notes on their process or have suggestions I’m all ears.


Replies

yoyohello13 • today at 5:27 PM

I do this quite a bit for previous years and I really like it. I have a couple rules I stick too:

1. If I'm stuck, take a break, go cook dinner or something else and mull over solutions in the back of my mind for at least an hour or 2 (better yet, sleep on it). If I'm still stuck after that, I'll ask AI for a hint.

2. I have in my prompt to not give away the answers, but try to give me little hints.

3. Always write the code by hand.

4. Once I've solved the puzzle, I have AI review the solution and suggestion improvements or other techniques I could have used.

joosd • today at 4:08 PM

> I have this funny belief that sounds something like this: learning happens fastest when the next adjacent step is within a certain mental distance. Too far and you just get stuck. Too small and well you don’t learn something new.

You're spot on, this sweet spot is also one of the premises of the book Flow by Mihaly Csikszentmihalyi

➕ show 1 reply
DrVoltz • today at 3:52 PM

Well, if you're looking to give it a shot with an AI study buddy, I've found the following system to be a reasonable way to keep guided learning a thing that has enough friction to keep some actual retention around: https://www.youtube.com/watch?v=nfTDljFG2g0

➕ show 1 reply
hardbass • today at 4:08 PM

Lean Dijkstra and loop finding. These two should push you through a lot of the middle problems.

➕ show 1 reply