I usually recommend everyone who wants to learn programming: - to write some games, - or alternative to write some tools to be used for themselves to automate or simplify some of their tasks. Writing games can be so much fun, and is incredibly deep such that you can pretty much touch upon all topics of programming, networking, computer science, algorithms and data structures, artificial intelligence, 3D graphics, GPU…
Tic80.com - might overgrow it quickly, but excellent for start. Has Lua, Fennel.
Ask HN: It's 2022. Where should I direct the youths to learn about programming?
61–70 of 192 posts
Re: Ask HN: It's 2022. Where should I direct the youths to learn about programming?
#62There's something the "old hackers" know that many CS students don't learn from the start (in the introductory classes), and that is actually how a computer operates. Don't spend a lot of time on this unless he's really interested, but it's a good idea to sit down with him for a few hours and teach him what really goes on inside a computer. I'm talking about the concept of instructions, registers, addressable memory,…
Re: Ask HN: It's 2022. Where should I direct the youths to learn about programming?
#63Javascript and webdev is also a decent option since you can build such interesting and shareable web apps quickly, but the frameworks and scaffolding can be intimidating and painful.
I would work backwards from a project/interest and pick a high-level language where it's easy to get a good enough solution and create something that feels like an accomplishment. I would want to teach both programming as well as the joy of programming.
Re: Ask HN: It's 2022. Where should I direct the youths to learn about programming?
#64>Tell him to learn
>online courses
You're their mum/dad, no? You know their interests, you know their abilities. This is an amazing opportunity to form a lifelong bond. Sit down with them and work it out together!
Re: Ask HN: It's 2022. Where should I direct the youths to learn about programming?
#65Unity is a decent start, and from there I got more into the fun stuff, OpenGL, assembly Lots of tutorials online.
From there you’ll have the background to quite easily transfer to whatever area is of interest.
Re: Ask HN: It's 2022. Where should I direct the youths to learn about programming?
#66Re: Ask HN: It's 2022. Where should I direct the youths to learn about programming?
#67It's "cool" and relevant.
The coding part is C# so a nice language and environment.
You don't really need to understand all the low level stuff, you can write some scripts and just press play!
There are heaps of official and community tutorials. API Quite well documented too.
Its not just code. There is a big editor to learn and become good at. Your kids may decided they like other aspects. Modeling, Lighting, Effects, Audio, UI, VR even?
I think there is plenty of Unity employment around, not just in games but all kinds of "multi media" businesses.
Jay
Re: Ask HN: It's 2022. Where should I direct the youths to learn about programming?
#68Why Scratch? It has assets available immediately, it's simple to draw and import images, and has a built-in audio editor.
Re: Ask HN: It's 2022. Where should I direct the youths to learn about programming?
#69Earlier quoted context omitted.
Tic80.com - might overgrow it quickly, but excellent for start. Has Lua, Fennel.
Check out https://www.lexaloffle.com/pico-8.php
https://gist.github.com/cellularmitosis/6e191bf6b6f062e5f558...
Re: Ask HN: It's 2022. Where should I direct the youths to learn about programming?
#70I would first start him on some guided C++ projects that illustrate basic syntax, data structures, explain libraries, pointer, how memory works, etc. I wouldn't spend a lot of time here. Some simple but neat console games that also showcase some math coolness (like guess a number between 1-100, then say you can guess it in 7 or fewer guesses).
This is how I learned, and was very helpful in understanding some of the why and how of programming. This gave me a deeper understanding of what was going on when I was introduced to easier languages. It also gave me enough understanding to ask how things worked in the easier languages.
After that brief learning period, then I would put him Python. There are lots of powerful libraries and it's easier to build more advance projects. There is also great support for physical stuff like Pi hats if he wants to so robotics, sensors, etc.