Live data from Hacker News

Ask HN: How would you introduce kids to web dev?

news.ycombinator.com

31–40 of 41 posts

Re: Ask HN: How would you introduce kids to web dev?

#31
I'll pitch something out of left field.

Lots of kids like making games, and RPGMaker is a game engine that lets you make games with 0 programming knowledge, but also gives you ultimate freedom to modify the game with plug-ins that you can download or write yourself.

I bought RPGMaker MV with a bunch of assets through humble bundle 5 years ago for like $80, and learned a ton about software develpment by trying to learn and make changes to the engine.

I guess if your kids are really just into web dev then this is would be orthogonal, but under the hood MV and MZ use html/css/js, where I think MZ was mostly a huge refactoring of MV to be structured like your more typical node.js project, so this would still be teaching them things relevant to web dev.

Re: Ask HN: How would you introduce kids to web dev?

#32
Next, whip out a copy of "Beginning Java 2.0". /s

Have them set a reasonable end-goal, a thing they'd like to make. Give them the tools to do this. Mark out some steps and scaffold them along the way.

When they've made that, ask what they'd like added. This introduces iterative development. Mark out a plan for that.

Then start all over with a similar but different end goal and have them gain confidence repeating/reinforcing the use of what they picked up with the first goal. Iterate in a different direction.

When adding a their project, perhaps the concept of re-use, making into modules or templates, might sound useful to them.

Then have them go less unguided by you personally with a self-paced course from Udemy or similar. They should be acquiring some self-teaching at this stage. Step in when they're having a lot of trouble.

The key theme here is building efficacy - sort of 'effective confidence' though a distinct term, and that's great for learning anything for life.

Edit: At no point be shy of printing a page of the code you're on and working through it with a pen. Things like loops and recursion might take some repetition practice on their own; introduce crazy things like while or even prove recursion through box logic if you're particularly sadistic!

Re: Ask HN: How would you introduce kids to web dev?

#34
What I did for friends' kids that wanted to try this out (mine were unfortunately not really interested) was to buy them a connected bulb and switch and show them Home Assistant.

They were happy to create automations based on various scenarios and we gradually went towards showing them how to switch outside of HA, and eventually through a button on web page they would write themselves.

And then CSS (the semantic world of HTML will have to wait and they will be -ing all the way), Vue and JS and BAM! now they are lawyers and doctors :)

But they still have the connected bulb.

Re: Ask HN: How would you introduce kids to web dev?

#36

Next, whip out a copy of "Beginning Java 2.0". /s Have them set a reasonable end-goal, a thing they'd like to make. Give them the tools to do this. Mark out some steps and scaffold them along the way. When they've made that, ask what they'd like added. This introduces iterative development. Mark out a plan for that. Then start all over with a similar but different end goal and have them gain confidence repeating/rein…

[dead]

Re: Ask HN: How would you introduce kids to web dev?

#37

I would never inflict that on my kids

That's a mind blowing take to me. Webdev has been so lucrative and easy compared to my previous careers, you could even say cushy.

But more than that I think people tend to associate teaching kids a skill with pushing them toward that career. Do I want my kids to be professional web devs? Probably not. Do I want them to be good enough at programming that they could publish their own work or promote their own interests? Yes!

Re: Ask HN: How would you introduce kids to web dev?

#38

I would never inflict that on my kids

That's a mind blowing take to me. Webdev has been so lucrative and easy compared to my previous careers, you could even say cushy. But more than that I think people tend to associate teaching kids a skill with pushing them toward that career. Do I want my kids to be professional web devs? Probably not. Do I want them to be good enough at programming that they could publish their own work or promote their own interest…

[deleted]

Re: Ask HN: How would you introduce kids to web dev?

#39
If they're interested in game development, you should show them Sprig! https://sprig.hackclub.com

It's an open source JavaScript game engine with lots of tutorials for beginners. There's an amazing gallery of JavaScript games built by teenagers just like them on the site too.

When they make their own game, we will send them all the parts they need to build a physical Sprig console for free as a grant! We are a nonprofit foundation.

Post reply on HN