frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: How are you teach your kids programming in 2025?

3•chenxi9649•1h ago
Hi HN, my nephew is 11, and I'm planning on giving him my old laptop.

However, I don't want him to JUST play games 24/7 but for him to do something productive like learning how to code. And I'll meet with him once per week to check up onhim.

My dilemma is that AI has completely changed how I personally code(and learn things), and all of the existing courses/curriculums for kids just feel a bit archaic...

Obviously, I can't just tell my nephew to go talk to chatgpt all day long and learn, without a project plan/target, he's gonna drift off(as I would too). I'm also thinking, since my main goal here is for him to just learn, maybe we should even just start with basic math/science instead of straight into coding?

I don't have any kids myself, so I'm curious to learn how all of the parents on HN are educating their kids today! Anything is helpful :)

Comments

benoau•1h ago
This is not a junior dev you can have a weekly one-on-one with, budget a whole lot of time and find a dirt-simple tutorial to go through.

I'm partial to PhaserJS because it's browser-based, not too much required to get started, lots of simple game tutorials and lots of instant-feedback making characters move and stuff.

Be prepared to cover a lot of basic computer usage and math.

mircerlancerous•54m ago
My son is 12, and we've just started in on learning coding. To make it fun, we're making a game together. He does all the art and game design, and I do all the coding. To help him learn coding, I make him sit with me while I do the easy parts, so that he learns concepts. I explain things like variables, loops, and functions, and then talk through the design with him. He 'helps' me solve things at a high level, and then I show him what the solution looks like. At his age I think simple exposure to concepts is important, as it will make things easier if he gets into it himself when he's older. As for AI, it is still just a tool to make devs more productive, you still need to understand coding to get the most out of it. With that in mind, the basics are just as important as ever.
k310•40m ago
Coding is meant to solve problems. And AI doesn’t know Jack about humans, only the breadcrumbs they leave on the internet. (Opinion)

One idea is to pose problems at a high level and ask how one would solve them.

A reference is Strategies forCreative Problem Solving, by Fogler and LeBlanc

I recall an early day at work when I called the boss that I would be in late, running some numbers on the home computer (in Basic). They were tradeoffs using various ranges of variables. The alternative was the IBM 360, fat chance. He looked a bit angry when I sauntered in, but when I showed him the printout, he realized that I had done about a week’s worth of work. Basic is out the window now, but the point is to go from a problem to proposed solutions (TMTOWTDI) [0] and there may be more than one way. In fact, that might lead to a globally better solution than some local peak and certainly more instructive, as in proofs of Pythagoras’ Theorem.

Through successive narrowing down, one finally gets to what AI does “best”, boilerplate, and by isolating its output, one can actually test the result with a smaller range of inputs.

Okay, I am not, nor was I a professional coder. More a scripter and admin, tasked with solving problems in the quickest way. Perl did most of the heavy lifting. So, I am not griping on pro’s.

The main thing I liked about perl, and groovy and python, which I didn’t need to use, was the existence of tested libraries. So, with groovy, I could access all the java libraries. No doubt the same for others. I have no idea how to impress this on others, since I think it’s way more trustworthy than black-box code, but I do recommend it. To what extent AI is going to reinvent the wheel on every coding request from it’s giant parts bin, I don’t know.

I believe that the value is in translating problems and needs into potential solutions and finding or choosing a “best” one. Code blocks are a dime a dozen, or perhaps better put, 45+ cents a kilowatt. (In CA). It’s how you string them together that makes all the difference. A wheel for climbing stairs may be three-lobed or even legged [1].

A beginner is going to get no insight from black box output, IMO. More from documented examples and libraries. I learned a ton about perl from the rdb relational database by Hobbs, [2], reading through it and learning what was going on and how. It was open source, and has moved to github.

Of course, you might suggest something newer than all of the above, but start simple, of course.

I liked things like map() and such, as an alternative to looping, but that may be on the advanced side.

[0] There’s More Than One Way To Do It

https://perl.fandom.com/wiki/TIMTOWTDI

[1] https://www.mdpi.com/2073-8994/15/11/2071

[2] https://github.com/ironsmith58/RDB

ekusiadadus•1m ago
I don't have direct experience yet since my son is only 0 years old, but I'm absolutely planning to introduce him to competitive programming when he's older.

I personally got hooked on AtCoder and Codeforces when I was in middle school. Back then, many contests started around 2 AM Japan time, which was tough, but it was incredibly fun. That experience is what led me to become a software engineer.

This hasn't changed even in the AI era. I now have Claude Code write most of my code, and I don't spend nearly as much time actually writing code as I used to. However, the underlying data structures and algorithms still excite me immensely. There's something deeply satisfying about understanding the fundamental concepts and problem-solving techniques that no AI tool can replace.

Competitive programming teaches you to think algorithmically and break down complex problems - skills that remain valuable whether you're writing code yourself or directing AI to do it for you.

Safari vs. Chrome: The best browser for Apple users in 2025

https://www.expressvpn.com/blog/chrome-vs-safari-best-browser-for-iphone-and-mac/
1•wslh•2m ago•0 comments

The power of two random choices

https://brooker.co.za/blog/2012/01/17/two-random.html
4•signa11•15m ago•0 comments

Ronnie Rondell, Stuntman Set on Fire for Pink Floyd Cover, Dies at 88

https://www.nytimes.com/2025/08/17/us/ronnie-rondell-dead.html
4•donohoe•16m ago•0 comments

Kneel Before Zod

http://www.i-mockery.com/generalzod/default.php
3•mistyvales•17m ago•0 comments

THE BIBITES - Digital Life

https://www.thebibites.com/?v=0b3b97fa6688
3•frozenseven•18m ago•0 comments

UK Government expands police use of facial recognition vans

https://www.bbc.com/news/articles/cj4wy21dwkwo
4•hacker_yacker•19m ago•0 comments

HotSwiftUI – Hot Reloading SwiftUI Apps

https://github.com/johnno1962/HotSwiftUI
3•wahnfrieden•19m ago•0 comments

Various desktop Linux tips for newbies

https://akselmo.dev/posts/how-to-linux-2025/
3•signa11•21m ago•0 comments

Beg HN: I Am Looking for a Friend

3•lihaciudaniel•21m ago•0 comments

MakerCon: Alasdair Allan and "The Inevitability of Smart Dust" (2014) [video]

https://www.youtube.com/watch?v=wnnWrLt_RCo
2•paulnpace•23m ago•0 comments

NUMA Is the New Network: Reshaping Per-Socket Microservice Placement

https://codemia.io/blog/path/NUMA-Is-the-New-Network-How-Per-Socket-Memory-Models-Are-Reshaping-Microservice-Placement
2•signa11•24m ago•0 comments

Test drive Linux distros online

https://distrosea.com/
3•exiguus•26m ago•0 comments

Ask HN: Approaches to decluttering a disorganised digital hoard?

2•phs318u•28m ago•1 comments

Gouach wants you to insert and pluck the cells from its Infinite e-bike battery

https://arstechnica.com/gadgets/2025/05/gouach-wants-you-to-insert-and-pluck-the-cells-from-its-infinite-e-bike-battery/
2•pabs3•32m ago•0 comments

8M patients: the only neurosurgeon in Sierra Leone

https://www.npr.org/sections/goats-and-soda/2025/08/17/g-s1-82000/neurosurgeon-neurosurgery-sierra-leone
4•bookofjoe•32m ago•1 comments

Show HN: I invented a new type of crossword with partially obscured clues

https://lexaobscura.com
2•laffcollie•37m ago•1 comments

Caote: KV Cache Eviction for LLMs

https://arxiv.org/abs/2504.14051
2•bbzjk7•43m ago•0 comments

A fraudulent cancer breakthrough investigated

https://www.bostonglobe.com/2025/08/13/magazine/sally-kornbluth-duke-research-scandal/
3•abawany•43m ago•0 comments

Men paying thousands to get their legs broken – and lengthened

https://www.theguardian.com/lifeandstyle/2025/aug/17/being-short-is-a-curse-the-men-paying-thousands-to-get-their-legs-broken-and-lengthened
5•pseudolus•45m ago•0 comments

Wildfires in Canada are now burning where they never used to

https://www.theguardian.com/world/2025/aug/17/new-canada-wildfires-locations
5•pseudolus•49m ago•1 comments

Logistic Regression-based Immunotherapy-response Score

https://loris.ccr.cancer.gov
2•gone35•50m ago•0 comments

A Man Lost His Career for Sharing the Babylon Bee [video]

https://www.youtube.com/watch?v=fl4bsL9Bl-g
3•keepamovin•51m ago•1 comments

IPv4 Address Exhaustion

https://en.wikipedia.org/wiki/IPv4_address_exhaustion
2•alhazraed•51m ago•0 comments

A New Reality for Terminal Cancer: Longer Lives, with Chronic Uncertainty

https://www.wsj.com/health/terminal-cancer-treatments-lifespan-acde24cf
2•impish9208•55m ago•1 comments

Sustainability in Boreal Forests: Does Elevated CO2 Increase Wood Volume?

https://www.mdpi.com/2071-1050/17/15/7017
2•PaulHoule•56m ago•0 comments

The Rise of Cute Debt

https://www.theatlantic.com/ideas/archive/2025/08/buy-now-pay-later-women-shopping-debt/683883/
5•bdev12345•57m ago•3 comments

Nanobots to Treat Tooth Sensitivity

https://newatlas.com/medical-devices/tooth-hypersensitivity-calbot-nanobot/
2•Gaishan•58m ago•0 comments

Build your own private WireGuard VPN with PiVPN (2023)

https://www.jeffgeerling.com/blog/2023/build-your-own-private-wireguard-vpn-pivpn
2•thunderbong•1h ago•0 comments

Mangle – a language for deductive database programming

https://github.com/google/mangle
3•simonpure•1h ago•0 comments

A mysterious particle could explain the Universe's missing antimatter

https://knowablemagazine.org/content/article/physical-world/2025/neutrinos-could-explain-universes-missing-antimatter
3•ProAm•1h ago•0 comments