logoalt Hacker News

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

31 pointsby 44Bulldogtoday at 3:39 AM31 commentsview on HN

I'm someone who got into building/programming in early 2025, when vibe coding tools became more usable. Since then, I'd like to think that I have developed a lot as a programmer, but I still have this deep sense of imposter syndrome / worry that AI is too much of a crutch and I'm not really learning.

I have shipped a few projects, I always review AI-suggested code, do daily coding practice without AI, watch youtube videos, etc. but still don't know if I'm striking the right balance or whether I can really call myself a programmer.

I often see people say that the solution is to just fully learn to code without AI, (i.e, go "cold turkey"), which may be the best, but I wonder if the optimal path is somewhere in between given that AI is clearlly changing the game here in terms of what it means to be a programmer.

I'm curious how you have all handled this balancing act in the past few years. More concretely, what strategies do you use to both be efficient and able to ship / move quickly while ensuring you are also taking the time to really process and understand and learn what you are doing?


Comments

gignicotoday at 7:10 AM

My two cents as a university teacher:

In my view AI tools are a sort of super-advanced interactive documentation. You can learn factual information (excluding allucinations) by either asking or looking at the generated code and explanations of it. But in the same way documentation alone was not a sufficient learning tool before, AI is not now.

What AI cannot give you and I suggest you to learn through other resources:

- algorithmic proficiency, i.e. how to decompose your problems into smaller parts and compose a solution. You don’t necessarily need a full algorithms course (even though you find good ones online for free) but familiarising with at least some classical non-trivial algorithm (e.g. sorting or graph-related ones) is mind-changing.

- high-level design and architecture, i.e. how to design abstractions and use them to obtain a maintainable codebase when size grows. Here the best way is to look at the code of established codebases in your preferred programming language. A good writer is an avid reader. A good programmer reads a lot of other people’s code.

- how programming languages work, i.e. the different paradigms and way of thinking about programming. This lets you avoid fixing on a single one and lets you pick the right tool for each task. I suggest learning both strongly-typed and dynamic languages, to get the feeling of their pros and cons.

That’s an incomplete list from the top of my mind.

You can still use AI as a tool in learning these things, but good old books and online resources (like Coursera) worked really well for decades and are not obsolete at all.

And the last thing is the most important: curiosity about how things work and about how to make them better!

fpausertoday at 7:40 AM

1. https://exercism.org/

2. disable copilote

3. only "talk" about concepts and patterns with AI

show 1 reply
bcrosby95today at 6:56 AM

I think it's nearly impossible to "learn" to the same depth when someone else writes the code: it doesn't matter if its your teacher, friend, coworker, or AI writing the code. There absolutely is a difference between having to toil to come up with an answer, fail, fail some more, work through design flaws, then eventually come up with the right answer. You learn a lot in the process.

Versus someone or something giving you the, or even several, correct answers and you picking one. You are given what works. But you don't know why, and you don't know what doesn't work.

Learning from AI coding probably is somewhere between traditional coding and just reading about coding. I'm not sure which one it's closer to though.

However, it may not be necessary to learn to that depth now that AI coding is here. I don't really know.

jmathaitoday at 5:46 AM

I learned all of my programming outside of university and textbooks. It’s one way to learn. Not the only way though - and it has its limits - but you can get pretty far.

But here is my advice. Learning by doing with AI seems akin to copying source from one location (I.e. view source, stackoverflow).

My tips:

- Understand all of the code in a commit before committing it (per feature/bug).

- Learn by asking AI for other ways or patterns to accomplish the something it suggests.

- Ask Claude Code to explain the code until you understand it.

- If code looks complex, ask if it can be simplified. Then ask why the simple solution is better.

- Tell AI that you’d like to use OOP, functional programming, etc.

One way to measure if you’re learning is to pay attention to how often you accept AI’s first suggestion versus how many times you steer it in a different direction,

It’s really endless if your mindset is to build AND learn. I don’t think you need to worry about it based on the fact you’re here asking this question.

show 3 replies
jmward01today at 6:15 AM

From your description it sounds like you have the most important stuff: variety, a willingness to do things and a willingness to seek advice. I doubt anyone on HN really knows what it takes to learn to be a coder in the new vibe world. It is really too soon to have seen people 'grow up' and the paths that lead to success or not. In general though if you want to learn something you need to do stuff related to what you want to learn, you need to do stuff in many different ways and you need to ask others what they are doing and have done to see if their paths can help you. Keep doing those things and you will likely be fine. The only other advice I can give you you probably already know, find a passion project. For me it was (initially) fractals. Then it was a thousand other things. One passion project will get you through a lot of learning.

yzjumpertoday at 5:41 AM

Just don’t use an LLM for learning for doing projects at first. I only use it for things I already know how to do or for research. I treat it like a teenage intern.

show 1 reply
delis-thumbs-7etoday at 7:05 AM

I don’t try to ship quickly. I started learning programming 2024, I’d say I’m pretty good with Python, proficient in vanilla web tech, ok with C, and I know basics of React/Fullstack. Starting from nothing I’d say I have progressed very fast, I follow a uni CS course. LLM’s have certainly helped in explaining concepts and to learn, but I don’t use them to code pretty much at all.

I recognised that my weaknesses are more in understanding the mathematical fundamentals of computation, so now I’m mostly studying maths rather than coding, currently linear algebra and propability theory. Coding is the easy part I’d say. Hopefully I get to concentrate on the study of my sworn enemy, algorithms, at some point.

I’d like to be able to do low-code and graphics/sound -programming some day. Or maybe use that knowledge some other cool stuff, if we are all replaced by robots anyway.

mattikltoday at 6:31 AM

Don't be afraid to go deep in simple sounding topics. The modern world is so full of learning material that there's the temptation to ingest as much of it as possible, but true learning happens when you give yourself time with one topic at a time. And I'd say this is more important than even, because generative AI is becoming great at precisely generating things, not so in understanding complex topics.

That said, learning the fundamental topics can limit your thinking first if they feel difficult, so it's an interesting question how to keep the naïve creativity of the beginner that's something that can really help when building with AI because there are less limitations in your thinking based on how things used to be.

ILoveHorsestoday at 7:02 AM

One can use AI to lead you to better sources. The issue I face is, whenever I search something I want to understand in a search engine, the first 10 links are always low-quality SEO links, or surface level AI generated tutorials. There is a treasure of high-quality blogs, books, interactive tutorials out there which don't show up when you search for it. For example, if you wanted to learn socket programming, you'd be better off following Beej's guide to socket programming instead of 100 g4g pages. Similarly, for Bash, you'd actually understand how every word you write works instead of just memorizing 20 commands if you followed TLDP's book or lhunath's guide. How do you find these resources? Use Perplexity or Reddit's AI to search for high-quality resources.

micaekedtoday at 6:15 AM

I recommend zachtronics games. I wouldn't go as far as to claim direct knowledge or skill transfer to "real" programming, but it sure feels like it's exercising the metaphorical muscles in a very different way.

Side note, I'm assuming you find joy in programming. If you don't, there's better ways to spend your time.

zeroonetwothreetoday at 5:56 AM

If you can’t code without an AI then you don’t really know how to code. It’s important to learn skills manually before automating them.

everfrustratedtoday at 6:44 AM

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 musicians felt when radio, records etc came about. My craft has been commoditized and it turns out nobody cared about the craft. They are happy listening to canned music in restaurants. Musicians are now like zoo animals where people pay an entry fee to see them for the novelty value. I exaggerate to illustrate the shift but part of me fears this might be more analogous than I dare to understand.

Code is about providing value to a business not in the lines of code themselves. Code is a means to an end.

If you want to understand coding for your own intellectual and hobbyist pursuit then please do. Generations of autistic-leaning people have found satisfaction doing so - but don't do it thinking it will remain a rewarding career.

show 2 replies
keepamovintoday at 6:17 AM

Is this like learning calligraphy in the typesetting era?

Before the AI era, I didn’t know much bash, but I was a reasonably OK programmer besides that I think. I found by getting AI to write me a lot of bash scripts and following along and then making edits myself when I needed small things changed I ended up with the ability to write bash now, and actually kind of appreciated as a language where as before I thought it was confusing. YMMV

Like anything with enough dedication you can achieve what you want.

show 1 reply
shinycodetoday at 6:51 AM

Drop AI, open a basic editor and write everything by hand without asking anything to AI. Do searches by yourself. That’s how world worked for decades pre 2022. Debug by your own, without asking anything to AI as well.

show 2 replies
beej71today at 6:41 AM

I'm an experienced dev, out of the industry now. I'm trying to level up in Rust, and here's what I do.

I bust my ass getting software written by hand using The Book and the API reference. Then I paste it into an LLM and ask it to review it. I steal the bits I like. The struggle is where we learn, after all.

I also bounce ideas off LLMs. I tell it of a few approaches I was considering and ask it to compare and contrast.

And I ask it to teach me about concepts. I tell it what my conception is, and ask it to help me better understand it. I had a big back and forth about Rust's autoderef this morning. Very informative.

I very, very rarely ask it to code things outright, preferring to have it send me to the API docs. Then I ask it more questions if I'm confused.

When learning, I use LLMs a lot. I just try to do it to maximize my knowledge gain instead of maximizing output.

I'm of the belief that LLMs are multipliers of skill. If your base skill is zero, well, the product isn't great. But if you possess skill level 100, then you can really cook.

Put more bluntly, a person with excellent base coding skills and great LLM skills with always outperform, significantly, someone with low base coding skills and great LLM skills.

If I were writing code for a living, I'd have it generate code for me like crazy. But I'd direct it architecturally and I'd use my skills to verify correctness. But when learning something, I think it's better to use it differently.

IMHO. :)

block_daggertoday at 6:29 AM

Talk the LLM and have it explain code. Write very small examples by hand and make sure you understand how they work. Big software is just a bunch of those small things working together.

show 1 reply
globalnodetoday at 7:21 AM

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.

tamimiotoday at 7:06 AM

I was talking about something similar with a friend before, I told him internet made people lazier, automation made people weaker, and AI apparently will make people more stupid.

Probably in 10y from now, it will be a flex if someone is building or doing stuff without using AI, just like now if you are using a manual screwdriver instead of impact driver or actually going to the library to research a topic instead of googling it.

exodusttoday at 7:03 AM

> "the optimal path is somewhere in between"

I think this is the correct answer. Also we technically never stop learning. There's always some new coding trick that alluded us until AI spits it out.

My 2 cents: Switch to chat mode from agent mode and have better chats about approaches to code. I'm constantly challenging AI to explain its code, including talking about pros and cons of this or that method, and even the history of why certain new features were brought to javascript for example. It's also fun to query the AI about performance optimisation, presuming we all want the least amount of cycles used for the given procedure.

tayo42today at 7:01 AM

Imo you need to struggle to learn and make things click.

I don't see why even with Ai you won't need to have a solid understanding of the parts of computing programing is built on top of.

Even if your prompting, you need to know what to prompt for. How are you going to ask it to make it faster if you don't know it can be faster, or if you waste time on trying to make something faster that can't be?

Go through something like cs classes from MIT and do the work.

marcus_holmestoday at 6:36 AM

I taught myself to code as a teenager back in the 80's on those early microcomputers (Commodore PET, Acorn Atom, BBC micro). Everything was much simpler, and easier to learn.

A career in software development 30+ years later, and I'm back learning from day one again, because LLMs are profoundly changing how we do this.

Example: two years ago, I built a website as an MVP to test a hypothesis about our customers. It took me 6 weeks, didn't look good, but worked and we used it to discover stuff about our customers. This week I've vibe-coded a much better version of that MVP in an afternoon. This is revolutionary for the industry.

The state of the art on LLM coding is changing fast and by orders of magnitude. They still get things wrong and screw up, but a lot less than they did a year ago. I fully expect that in a couple of years [0] writing code by hand will be completely archaic.

So, what does this mean for people learning to code?

Firstly, that hand-rolling code will become artisanal, a hobby. Hand-coding a program will become like hand-carving a spoon; the point is not to produce the best spoon in the most efficient manner, but to create Art.

Secondly, that commercial coding as a career will revolve around collecting business requirements, translating them into prompts, and orchestrating LLM code engines. This will be a cross between "Product Manager", "Project Manager", and "Solution Architect" in current role definitions.

Thirdly, that at least for next few years, understanding how code actually works and how to read it will be an advantage in that commercial career space. And then it'll be a disadvantage, unnecessary and potentially distracting. Soft social skills will be the primary factor in career success for this profession in the future.

The industry has been through similar changes before. Most obviously, the invention of compilers. Pre-compiler, programmers wrote machine code, and had to manage every single part of the operation of the computer themselves. Need a value from memory for an operation? You had to know where it was stored, clear a register to receive it, fetch it, and work out where to store the result. Post-compiler, the compiler managed all of that, and we were able to move to high-level languages where the actual operation of the computer was a couple of abstraction layers below where we're thinking. We no longer need to know the actual physical memory address of every value in our program. Or even manage memory allocation at all. The compiler does that.

And yes, there was a generation of programmers who hated this, and considered it to be "not real programming". They said the compilers would write worse, less efficient, programs. And for years they were right.

So, to answer your question:

> AI is clearlly changing the game here in terms of what it means to be a programmer.

> More concretely, what strategies do you use to both be efficient and able to ship / move quickly while ensuring you are also taking the time to really process and understand and learn what you are doing?

Embrace the change. Learn to manage an LLM, and never touch the code. Just like you're not writing machine code - you're writing a high-level language and the compiler writes the machine code - the future is not going to be writing code yourself.

Good luck with it :)

[0] There are lots of questions around the finances and sustainability of the entire LLM industry. I'm assuming that nothing bad happens and the current momentum is maintained for those couple of years. That may not be the case.

show 1 reply