Live data from Hacker News

Ask HN: Anyone else struggle with how to learn coding in the AI era?

news.ycombinator.com

31–40 of 70 posts

Re: Ask HN: Anyone else struggle with how to learn coding in the AI era?

#31

So long as you can prompt your AI to successfully debug your way out of problems - you don't need to understand code. I appreciate this will be a deeply controversial statement here. As someone who's been coding for 25+ years and has some part of my identity in my ability to code this hurts and wounds me, but it is sadly true. The skills I've built and honed have little value in this new market. This must be how musi…

So long as you can navigate someone from the passenger seat, you don't need to know how to drive a car. I've been an experienced driver myself, but in the age of self-driving cars it's just not a useful skillset to have. A car is just a means to an end, why learn how to drive it when you can simply hop into a taxi?

The answer: because people find joy in doing it themselves.

Re: Ask HN: Anyone else struggle with how to learn coding in the AI era?

#32
Use ai as a database to help you get up to speed with the domain you're working with - its really good at that!, then write your own code. If youre learning you can then submit that code to ai and ask it for feedback. Though take all feedback with a grain of salt, it may inexplicably start trying to redesign all your stuff with 10 levels of oo abstraction that no one would really write.

Re: Ask HN: Anyone else struggle with how to learn coding in the AI era?

#34
As someone who learned programming the hard way I hated it even when I am really good at it. It got on the way of me doing useful products and services that I wanted to create.

Because of that I learned Lisp so I could do metaprogramming, because manually it would take multiple humans lives to be able to create what I want before I die, even (or specially) controlling a small group of people.

We use Claude code and personally I love it. It is like the electric sawmill instead of humans cutting manually, sweating and being exhausted after half an hour of work.

After decades programming I know how to tell the AI what I want, and how to control/log/assert/test/atomize everything so it behaves.

You can use AI to teach you programming, the problem is that you need to tell her what you want, and if you are not experience you don't.

So do small projects and let the AI do 80% of the work, spend the remainder 20% finishing by hand. Usually LLMs are amazing for approaching valid solutions but are really bad at making something perfect. They fix something and destroy something else. You do that manually.

But "learning programming" in abstract is like "learning to drill", why do you want to drill? What do you want to drill? Where do you want to drill?

You need to make it specific into specific projects, with specific timelines. "I want to play the piano" is abstract. "I want to play this version of Feather theme in 3 months" is specific.

Re: Ask HN: Anyone else struggle with how to learn coding in the AI era?

#35
I’ve been coding as a hobby since about 2020. I’m not particularly great at it and I’m still trying to teach myself.

I try to write whatever code, let’s say a function, by hand. It probably won’t work so I just have the LLM Socraticaly ask me questions about why it’s not working and then I try to fix it by hand and keep repeating this until the function works and does what I want.

If there is some more difficult to understand concept I write a small article to try to explain it and have the LLM explain me though my trial and error of writing until my paragraph or essay or whatever amount of writing needed to explain what I’m trying to learn is complete.

Re: Ask HN: Anyone else struggle with how to learn coding in the AI era?

#36
I learnt programming when Books were actually used, back when the docs page were barebone.

My 2 cents: read the actual docs, these days docs are exceptional. Rustlang offers a full fledged book as part of their docs. Back when Go was launched and their docs wrre inadequate and I had started to write a short github based "book" for newbies, and it did well (looking at the github stars)

Learn without AI, be an expert. And then use AI to write the code.

Using AI to learn is honestly delusional. You don't learn when AI writes the code for you. Also for a new language it'll take some time for us yo get used to the syntax - hence writing by hand until you become an expert.

The goal of writing software for your job is to write it within that sprint.

But for hobby at least you can take time & learn

Although I'd recommend to get into depth for whatever tools you are going to use at your job without AI because who knows, maybe your next company won't allow you to use AI!

Re: Ask HN: Anyone else struggle with how to learn coding in the AI era?

#37

Earlier quoted context omitted.

This is a strange analogy, because learning calligraphy is essential for any type designer worth their salt. Read The Stroke by Gerrit Noordzij.

I don’t mean type designer I mean, the Gutenberg press. Before mechanical printing books were copied by monks using calligraphy weren’t they?

It's not exactly the same thing.

When the Gutenberg press exists, knowing how to copy whole books by hand is 0% useful anymore, including to run a book copy using a press. There's also virtually no advantage to hand copy a book when you have a press.

You still need to know how to program to build something and maintain it in the long run. You need to be able to understand the Gen AI's output or you are in for some trouble, and to deeply understand the Gen AI's output you need to have practiced programming. What's more, you need to have practiced not only (generic) programming, but the specific stuff you are working on (the domain, the specific technologies, the specific codebase).

Re: Ask HN: Anyone else struggle with how to learn coding in the AI era?

#38
We're all ultimately just learning what we need to to get the job done. After 20 years programming, it is very clear that nobody knows everything. Everyone just knows their own little slice of the software world, and even then you have to 'use it or loose it'. If you're feeling imposter syndrome, keep a study side project going where you don't use any AI, something like NAND to Tetris that forces you to learn low level concepts, and then just stay productive using AI for the rest of your work.
Post reply on HN