Hacker News new | ask | show | jobs
by icu 594 days ago
Thanks for this, but as a complete beginner I didn't really get the point of the raw code with no comments explaining it. I was left asking myself what am I missing because the title seemed beginner friendly. Maybe if someone is really experienced they can figure out what all the "core principles" are in the "one file" but I didn't.

So if a complete beginner is reading this, I suggest copying and pasting the code into your favourite AI chat (I used Claude 3.5 Sonnet) and then prompt it to learn from the raw code.

For example, I asked Claude "what is this code illustrating?" for the React code and got a good response, and then I picked apart the list of key concepts Claude identified with further prompts.

Only after doing that was I able to get any use and understanding from the post.

1 comments

You should create your own gist and add the explanations and then post that gist here.

I'm sure it'll be very useful to lots of people.

Thanks for the idea. I've had to stop focusing on learning React because I found I didn't know enough JavaScript so I'm not confident enough to post any gist about anything presently. I did a JavaScript course 10 years ago after finishing CS50 online but due to a sudden change in family circumstances I had to take a long break from learning programming.

However, thanks to cline, aider, supermaven and v0, I decided that I could now learn enough JavaScript/React/React Native to pair program with AI code generation tools and replace the need for a technical co-founder going forwards.

I'm about halfway through the freecodecamp JavaScript Course and so far so good. The AI code generation tools for VS Codium are insane and I'm certain I'll be launching webapps and mobile apps in no time.