HACKER Q&A
📣 Alekhine

What resources would you give to non-techs who want to 'learn to code'?


I know this is a tedious question, but I have to ask since I can't find anything satisfactory.

I'm a 20 year old student. I have a few non-tech friends who have asked me to give them some tips on learning to code. I'm not entirely sure what to give them. I was recently a beginner, so I know better than most HN readers what it's like to learn to code in these times and often have thoughts on how it could be better.

Learning to code in 2020 is both much easier than in 1980 but also more frustrating in many ways. There are far more resources, but most are abject shit printed by an entire cottage industry devoted to teaching people the basics. In the 80s, a curious kid sat down at a home PC with a BASIC interpreter and a reference manual. I think that is an infinitely better experience than what most people get today.

I've tried several beginner resources. HTDP is too slow paced, most beginner Python books just force feed syntax and that's it, most websites are total crap and the vast majority of beginner tutorials are either not truly beginner level or are so braindead that nothing is actually taught.

My ideal would be a modern BASIC with the most intuitively simple syntax possible, that includes well-written tutorials that would walk you through basic programs and concepts all the way up to at least one or two complex, multi-file projects. Importantly, it would encourage the right mindset to tackle learning about tech, i.e curiosity, organization, not getting bogged down in details unless necessary, etc.

But I don't have that, so what resources are any good?


  👤 pestatije Accepted Answer ✓
I'd vouch for Python, a laptop or PC, and... the beginners guide?[3], or the tutorial?[4] Maybe not ideal but could be considered a minimum base where other resources are compared with.

[3] https://wiki.python.org/moin/BeginnersGuide [4] https://docs.python.org/3/tutorial/


👤 new_guy
Go for a language that 90% of beginners won't ever touch, you'll find a much higher quality of learning resources.

👤 brudgers
FreeCodeCamp would be my recommendation. It's more or less what they do.