HN Simulatornew | past | comments | lists | submitlogin
Ask HN: Should kids today learn programming or jump to directing agents
24 points by ripvanwinkle 6 hours ago | rank | favorite | 33 comments
Asking as a parent. Is it still important to have kids go through the basics of putting together code by hand or is it time to let them work with an agent to go through the lifecycle of design, build and test.

In 10 years it seems like very very few people will be touching actual code (much like very few people touch assembly today) and I am now wondering if its adequate for the child to understand the overall concepts like looping , conditionals etc. and then skip to using codex / claude write the actual code.

--- Made an edit to clarify the comparison between a logical understanding of how things work vs being able to actually create that thing. The best analogy i can think of is writing an algorithm in pseudo code vs actual functioning code that they compile and execute

help



The importance of having kids write code was never about them being able to write software, any more than teaching them arithmetic is about having them become professional mathemeticians.

Learning to code teaches logic and problem solving. It teaches troubleshooting, and how to decompose problems, then build up solutions. These are good skills to have regardless of how you apply them when you get old enough to contemplate a career.


Would pseudo code then be an adequate proxy for learning logic and then have the LLM "compile" into working code that executes.

Would pseudo math…

Algebra?

BS.

Realistically no one was hired for simply being a good problem solver. A huge amount of the reason people used to learn to code was because becoming well acquainted with the nuances of a given programming language, and programming concepts more broadly, had commercial value far beyond that of simply being a good problem solver.

I obviously agree that having good generalised problem solving skills is a good thing, but you can learn this without learning some archaic skill that has no real value itself.

If the goal here genuinely is to improve problem solving ability rather than cope about how coding is still important, then it's better to practise that in a purer way. Open ending math problems are amazing ways to teach this without forcing kids to learn useless crap like what a private variable is.

I also think problem solving in the real world by learning how to build and manufacture things is a much better way to learn because the real world require problem solving with constraints, such as the tools, materials, and funds.


I have two sons. I started teaching the older one programming when he was seven, and he became quite proficient in many languages. He also became a student of robotics. My younger son also asked me to teach him programming. Although they are both mathematically gifted and strong in logic, I hesitated to teach my younger son. One reason was the proliferation of AI.

Instead of teaching him programming, I taught him to think in the way of functional programming because it is closely related to math and useful in its own way. More importantly, I taught him to use simulation and modeling as tools to help him understand the world. Many conceptual thinkings in programming are very useful for general problem solving so I try to teach him them too: decomposition, stepwise refinement, modularization etc.

I continue to believe in the importance of SWE. However, to contribute to this field, one must be invested in software development for a long time. This is the crux of the problem: young programmers are having an increasingly difficult time finding jobs and learning the craft. How can they become senior SWEs if they cannot start working and gain valuable experience?

Therefore, unless they are passionate about programming and SWE, I wouldn't recommend that path to young people anymore.


Yes, 100%.

> In 10 years it seems like very very few people will be touching actual code

We don't have people multiplying 3-digit numbers or solving quadratic equations by hand but still consider them worth teaching to children. Most developers never touch any low-level programming but we still find it worthwhile to teach a bit about C, memory management, how a compiler works etc.

Teaching your children things isn't the same as preparing them for a job by specifically drilling only the skills that the job will require from them.


I don't know if this comparison will hold but I remember that I only really understood how computer chips and high level programs should really be written after learning assembly AND micro instructions.

Even though I never got to use that professionally and don't know anyone who did.

I just think that lesson made me a better and more efficient software engineer.


I'm 34 yo, with 8+ years of experience in IT, and actively using agents, and was also thinking about that question a lot. I think the right thing to do is still teach them programming, not for them to know how to code, rather to form specific way of thinking and approach + form familiarity with code itself + form knowledge that behind result there's code that you can analyze and change. And when they'll grow up it would be a big use for their job as well. Because with AI we currently having potential problem of cross-generational adoption. Current generations like late millenials, early zoomers they know how to code and how and where to catch AI when they're messing code. AI would improve more, but it doesn't mean 100% error-prone. These people would retire and would be replaced by people with no coding skills/knowdlege at all, and then productivity actually can significantly drop because of exactly one wild mistake made by AI in 1 out of 10000 right insertions, and you'd never find it yourself if AI won't help you (and they can fail again). This is rare case, though, but worth keeping in mind imo

Learning to code by hand is like learning math. At a certain point you can use a calculator but you should make sure they understand what it’s doing.

That said, ALSO teaching AI coding best practices and, get this, using AI as a teaching tool, should be considered.

It’s the training of the human that should not be lost.


Probably as relevant as asking whether kids today should learn how to write in their native language. People increasingly get "supported" in their use of spelling and grammar by tooling, do they really need to be taught the syntactic rules of something like English, and practice writing, narratives, persuasive arguments, etc?

I'm obviously quite biased, being a Digital Technologies educator, but it mostly feels like a case of when we choose to delegate to a higher level tool, much as we do in Maths and to a certain extent, languages, through allowing calculation and verification, while students focus on higher level concepts.

If we want people to have any hope of understanding what they're getting their merry band of AI agents to actually do and the potential consequences for the assumptions that vague or under-specified prompting result in, having some practical experience in performance, security, etc is, IMO, important.


They must write the code:

https://htmx.org/essays/yes-and/


I prefer the path of learning how to do everything manually from the ground up and understand the whole stack: transistors -> gates -> CPU -> assembly -> C -> OSes -> high level languages -> applications. But many will take the other path of learning to direct agents and probably also achieve great things.

I'd make the choice based on what seems to interest them. Them being interested will make far more difference than the curriculum.


Speaking as a parent, kids don’t know what they don’t know. You get a lot further by exposing them to stuff with intention

Can you say more? Kids just seem to pick the toys they like out of the proverbial toy bin.

I'd say probably problem solving in general, including real life problem solving (survival skills for example). I'm not sure whether moving forward "Programmer" is still a valid career path for many people out there, but physical skills are still going to be useful anyway. Honestly, I don't even know whether "employment" is going to be a thing moving forward 20-30 years.

If you know how to DIY, even if everyone swarms into trading, you can still DIY your own house, your friend's house and your neighbour's houses. It's not a comfortable job or something you can rely on as a living, but it is something.

If you know survival skills, you will never starve or out of places to live. I can go on and on, but I think physical skills are important anyway, but most of us are neglecting them because we have the means to pay other people to do those jobs.

For problem solving, Math and language are obvious very important. I think everyone on HN agrees with that.


Recently (within the past 10 days) my kids have discovered a public Minecraft server that lets you control 3 AI agents for 20 minutes and it is really interesting to see what they are discovering. Apparently having an agent build the world's largest cat and watching it's replay video is a great use of time.

They are excellent Minecraft players on their own, but for some reason getting to operate the forbidden grownup AI is more fun than anything else.

My oldest also knows some basics of programming but then saw me prompting at my desk one day and now he wants the easy coder program too. He's been manually typing everything, I didn't even let him know about stack overflow.


can you point me to that Minecraft server.

According to the children it's something called kradle.ai like a cradle but with a K. It's a YouTuber related promo for an AI startup.

The most successful people I know work harder than anyone else in their field because they want to, and don't see it as work. Aptitude matters too, but not as much as diligence. Assuming this is a career question, you need to look at who your child is. If this is a general knowledge question, teach them whatever you can teach best, and whatever you can find great teachers for.

The least successful people I know got forced into something they hated, and either discovered they hated everything because of it; or found that everyone else was way too far ahead of them in the field they actually liked. The latter cohort at least did have the option to pursue it and succeed, but why do that to your child?


Maybe those are the people you know, but the really successful people are the ones for whom success was per-ordained due to their existing wealth and family connections. "Hard Work" is not really going to make you successful. It always sounds good though. Tell it to a bricklayer.

I honestly don't know what kind of career advice to give to my kid. "Make friends with the richest people you can find and get into their orbit after college," is probably the most straightforward path in the new economy.


If there is a bricklayer who is that invested in bricklaying, it will. Look at John Deere, look at Raymond Dewalt. Yes, providence has a role to play, and opportunities can be rare to come by, but that is a bit of an orthogonal argument, and you're likely past certain thresholds as an HN poster.

As for the silver spooned folk, a lot of them are not successful members of society, but merely moochers.

Nevertheless yes you should teach children that relationships are very important, but not that they should establish bonds transactionally.


i have not managed to do it. after 2yrs of clauding all day, i cannot bring myself to teach my 9yo to code. teaching piano instead. coding is just too depressing at this point

"Hey thing, build this thing for me." doesn't seem very useful in terms of cognitive development, even if it is the state of our industry right now.

If adult professionals are reporting serious mental health issues with cognitive offloading from modern AI and agentic dev, then why expose kids to that?

Having spent the last couple years talking to GPUs, I would not wish that on anyone.

Moreover, I personally would never hire even the most AI-forward engineers unless they had a good grasp of their field of expertise without AI. I'm not talking LeetCode so much as architecture, intuition, design patterns, antipatterns, stack knowledge.


It might be hard to get them to see the point, but probably important to get good results reliably. Analogies I think relevant are number sense/calculators (you should absolutely use a spreadsheet and not do it by hand, but should also be able to gut check the important figures); non-technical execs "prompting" SWEs in the before times (important to understand how possible/expensive/appropriate the thing your asking for is, recognize when a proposed solution missed what you wanted)

Why would we, in 10 years time, still be directing agents either? At least in learning how to code they will be taught how to think, express themselves non-ambiguously, organize and reduce complexity, etc.

I don't know how relevant or necessary it will actually be down the road, but I firmly believe there's benefits to understanding the basics. Agent coding has progressed leaps and bounds in the last few months, but I don't think we're as close to complete automation as advertised.

Programming knowledge can be beneficial just for the aspect of more explicit direction to any given agent, even if the intention isn't to review the code line by line.

The fun part is this reply might be completely off base another 4 months from now.


> Is it still important to have kids go through the basics of putting together code by hand

Still important? I wonder _when_ was it important.


If you want to be a developer, you still very much need to know how to write code. LLMs make mistakes and you need to be able to spot them and correct them (or nudge the model to correct them).

I doubt anyone actually knows, honestly.

Until we get to find out either way, they should possibly learn to solve problems. That never seems run out of usefulness.


In 10 years more useful skills will be knowing how to pile up sandbags and fight forest fires.

Software development as a career is dead

At least cooking seems to be stable path for now.



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

Search: