Live data from Hacker News

Ask HN: Please share your experience teaching your kids to program

news.ycombinator.com

141–150 of 240 posts

Re: Ask HN: Please share your experience teaching your kids to program

#141
When I was seven, I was into plumbing, electronics books, and maybe Barney. When we went to libraries, I would get books on the local jurisdictions sewage system, or how to rewire your house. I was happy that my parents let me take the occasional thing apart. But they never really guided any of it.

I remember at around 12 the Comcast repairman told me "the real money is in software". I thought - software, what's that? Then I probably went to work on our garden or something.

I didn't start coding until around 16, and that was because I had old computers that I wanted to use, and didn't really know about pirating windows, so begins using Linux, running PHP webservers ETC.

Point is - figure out what they enjoy and help them enjoy it.

I couldn't even get friends that want to learn to learn, even when they are practically homeless.

It's hard for some of us to fathom, but some people just don't have the drive to do this kind of thing. You also can't force it, all you can do is give context.

Re: Ask HN: Please share your experience teaching your kids to program

#142
post #72

Your kid is 7. I'm pretty sure hat I was eating dirt when I was 7. If he has showed you he's interested in programming then go ahead, but make sure you're not projecting your own interests onto your kid. It'll lead to resentment in 7 or 8 years.

I’m already projecting my own interests opinion on my child by virtue of what I choose to give him for his birthday, or allow him to do in general though. I don’t think this is something you can (or should, it’s basically the definition of parenting) avoid as a parent.

While I agree, it is equally important to get them a diverse set of experiences.

Some people grow up never knowing they have some inclinations and or talents.

My childhood had a ton of this stuff. I saw and did a lot! And peers who did not have that diversity sometimes found out later.

While it is good to eventually know, earlier is often, but not always better.

What I did was a balance. And given my son is in meth hell, am doing again with my granddaughter.

That balance was:

Take them through things I hope they have an interest in. I had some familiarity and real skill in many of these. I brought in other people where I felt I was not the right person.

Take them through some rando things! And frankly, I lived vicariously in this way. Very highly recommended. They may benefit and so may you! Sports was one area where I sucked as a kid, but was able to lean and excel with them as an adult. Neat! Major bonding and memories happen this way. It is kind of terrible sometimes too. (Hold that thought)

And finally, take them through things they are interested in, ask for.

Now, the terrible experiences?

All good, and here is why:

Regardless of how we want to shape our kids, they are their own person. Some are strong in all this. I was as a kid, and after major conflict with parents, I was very lucky to have others in my life who understood how people work.

Self discovery happens when we have experiences. How we respond, what piques our interest, latent talents, skills, understanding all present themselves during experiences.

Nobody knows who they are, until they have opportunity to respond and interact. The more diverse the body of opportunity is, the better of a look we have at who we are.

This all moved me as a young person, and as a parent too:

I see our job as making sure the basics get done. Competent, well rounded, civic minded, people. When the basics are there, one has all the tools needed to learn how to learn, get along with others, follow instructions and all that basic, important stuff.

And our job is to seek those diverse experiences, observe, discuss all that with kids and tease out the good stuff! Most importantly, nobody knows what that stuff actually is! Or maybe we do, to a degree, by inference or various signs. Fine. But I assure you it is nowhere near inclusive enough.

Some molding and shaping can and should happen, but some of the canvas gets filled in and we can either weave that into the potential person we are raising, or bodge over it, hoping it all works out.

Where they are aware, crave things, themselves looking to contribute to maximizing who they are, parents may see themselves shut out, less relevant when their expectations and efforts do not align well with who their kids are.

And in some ways, the die is cast. In other ways it takes shape, and we can plant seeds, and have some influence.

My 0.2 having raised very different kids.

Good luck. At a minimum, give a shit, respect who they are, try hard to get them through to quality adults and it is hard to go wrong. Just know, despite your efforts, they may be very different people than you may expect or hope for.

Celebrate that. People are amazing. Try to amplify the good.

Re: Ask HN: Please share your experience teaching your kids to program

#143
post #74

Earlier quoted context omitted.

I agree completely. I don’t understand the recent trend to believe that we need to get kids into software engineering as soon as they pop out of the birth canal. My friend is an accountant. If he asked me for advice on how to make spreadsheets more fun for his kid I’d think he had something against his kid. In the words of Pink Floyd “Hey! Nerds! Leave them kids alone!”

To be fair, software engineering connects better to the interests of STEM-ish kids (video games, robotics, electronics) than spreadsheets ever could.

Really? My earliest memories of Excel are from third grade and long before I started programming. Calculations for electronics and min-maxing video games are perfect applications of spreadsheets.

Spreadsheets are a great visual way of programming up to a certain point.

Re: Ask HN: Please share your experience teaching your kids to program

#144
I recently released this C programming book that is good for kids called A Day in Code: https://www.amazon.com/dp/B08LG7DW4C

It's a picture book that tells a story with C programs that represent real-life situations. It teaches C programming with the code examples that make up the story. It has full-page illustrations like a normal picture book!

I'm writing a Python version now: https://www.kickstarter.com/projects/914595512/a-day-in-code...

I hope these are fun ways for kids to get started in programming. :)

Re: Ask HN: Please share your experience teaching your kids to program

#145
My daughter has been "coding" since she was three and my son since he was two. They began with the code and go robot mouse, where you push arrows in the direction and order you want the mouse to go totally ignoring the course and just trying to get the mouse to the cheese on the floor. Next I bought Cubetto, which comes with a board with pieces that give instructions and you place on the board. Mostly one kid sits on the floor and the other will "program" Cubetto to come over to the them.

Now my daughter is five and plays with Scratch Jr. She makes short clips of characters moving around, recording and timing the characters voices, allowing presents and balloons to magically appear, she's not tying in code but instead uses "graphical programming blocks". She also likes codeSpark.

My kids do not distinguish programming from play. I intend to keep up programming = play which I will later transition to a more advanced version of, "I want to make a thing, writing a program will allow me make it." than what my daughter is currently doing. Make it fun, and don't do much in the way of suggestions/feedback, just let them know you'll answer any questions and let them make mistakes.

Re: Ask HN: Please share your experience teaching your kids to program

#146
post #120

Didn't work: - BASIC, Ruby, Python, Java setups + intros, tutorials. - LEGO Mindstorms - Scratch, Squeak - Coding classes / camps Note that I "made these things "available" but never pushed. I'd set up the environment, show him to to edit and run the code, and pointed him to tutorials. After some time went by I'd show him the next thing. Rinse and repeat. Worked: A Texas Instruments programmable calculator. He read t…

I don't know the full story but this kinda lines up with what I wanted to say about the topic.

My GFs kid was not at all interested in what I did, until it could relate to her friends at school.

Apparently some of the boys at school had used Devtools to modify a class website and add dirty words or whatever it is they do.

So I showed her at home how to go into Devtools and change the appearance of the teaching portal they had. That really captivated her because it was something she could show off to her friends.

Same with the calculator. I remember kids having those at school and programming them when I was young. It was something you could actually bring to school and show off, it was something relevant to all kids because they all had to get one.

Another modern suggestion would be mobile app dev.

Re: Ask HN: Please share your experience teaching your kids to program

#147
This is going back a long way but for myself, I never had any interest in programming until there was something I wanted to make (in my case, games on my calculator). That gave me the motivation to teach myself programming. Even now I always need a project with a goal in order to get excited about code.

Re: Ask HN: Please share your experience teaching your kids to program

#148

Earlier quoted context omitted.

Well you could say that about any vocation.

Maybe. But accounting, or at least grasping personal finance, is a practical gift in a way that many others aren't at an introductory level. For example if you only want to be a manager at McDonald's you have to learn the most basic of accounting tasks.

Honestly, a small amount of programming knowledge would make a lot of jobs better

Re: Ask HN: Please share your experience teaching your kids to program

#149
Microsoft have a block based language called Makecode, that is very similar to Scratch, and which you can use to mod Minecraft. You can also use it with Lego I think, and some other hardware like the micro:bit, if you'd like to do some robotics.

https://minecraft.makecode.com/

Re: Ask HN: Please share your experience teaching your kids to program

#150
post #120

Didn't work: - BASIC, Ruby, Python, Java setups + intros, tutorials. - LEGO Mindstorms - Scratch, Squeak - Coding classes / camps Note that I "made these things "available" but never pushed. I'd set up the environment, show him to to edit and run the code, and pointed him to tutorials. After some time went by I'd show him the next thing. Rinse and repeat. Worked: A Texas Instruments programmable calculator. He read t…

Very simple: first you showed him a complex, abstract, adult world boring thing.

Then he found out how to apply code to immediately impact his real life. Code became _useful_ and _fun_.

Aim for immediate practical application.

Post reply on HN