Ask HN: Advice for 14-year-old who wants to learn to code?
21–30 of 36 posts
Re: Ask HN: Advice for 14-year-old who wants to learn to code?
#22Python's recommended a lot but personally I'd avoid it, it's a nice language but there isn't much to use it for without starting using frameworks.
What I'd recommend is starting with web development (that's where I begun). HTML can be taught easily and provides quick gratification, you can easily teach enough to produce results in a few hours, alongside HTML I'd teach the basics of CSS. I can personally recommend W3Schools[1] (though I believe codeacademy[2] is good as well), this can easily be personalised to make it appeal to your brother.
When he's got a decent grasp on this, Javascript or PHP links in perfectly (it could even be an extension of the HTML lesson - a larger project) so would work well to move onwards.
Another thing that I wish I'd have known about when I was learning is the amount of support available. I've since been involved in a local CoderDojo[3], if there's one where you are, I'd highly recommend going along to one with him! Even without any coding experience, I'd recommend it.
If you have any questions, feel free to ask :)
Re: Ask HN: Advice for 14-year-old who wants to learn to code?
#23My son, who is a little younger than your brother, wanted to learn to code and I tried a number of things but they didn't really stick. He kept "wanting to" but never really learned past regurgitating the tutorial. Finally, he picked up my TI NSpire CX CAS and started playing with it. For us really old guys it's like the next, next, next gem TI 82 graphing calculator. The TI has always included a programming language…
I found C for Dummies at my uncle's house and got lucky. I loved it.
I've always wondered what alternatives there are. Most of the college textbooks I had were too dense to get into, but I think I remember the Deitel and Deitel ones were descriptive enough, but kind of dry.
Maybe I'll keep this TI NSpire CX CAS in mind next time the question comes up.
About 1.5 years ago someone posted this discussion of a related article on HN: https://news.ycombinator.com/item?id=6303654
Re: Ask HN: Advice for 14-year-old who wants to learn to code?
#24Downey's Think Python might be a good place to start (free download, but I'd recommend getting the hard copy) http://www.greenteapress.com/thinkpython/
For reviews: http://www.amazon.com/Think-Python-Allen-B-Downey/dp/1449330...
You might consider this book or related ones listed on Amazon: http://www.amazon.com/Python-Kids-Playful-Introduction-Progr...
There is this Intro iOS/Swift programming book that claims to teach non-programmers..... http://www.amazon.com/Introducing-iOS-8-Steve-Derico/dp/1491...
This book also seems very interesting and doesn't seem to require much/any programming experience:
Analyzing Baseball Data with R http://www.amazon.com/Analyzing-Baseball-Data-Chapman-Hall/d...
I do think it is very important that somebody be readily available to teach/help with some of the concepts....
Re: Ask HN: Advice for 14-year-old who wants to learn to code?
#25Python makes the transition from HTML to Turing Complete languages much easier since you don't need to worry about syntax. I am speaking from experience, I couldn't learn JavaScript until I learned the basics of Python.
Also, a large project is important. Working on my large TSA project has taught me a lot more than I would have learned by fiddling with smaller things.
Avoid web app tutorials that make you pass a test before continuing. Code Academy, Khan Academy, and similar things are nearly always horrible for actually learning. For example, Code Academy starts its CSS turorial with a CSS3 animation, and has 5 screens for a Python tip calculator, with cryptic instructions that make coding seem a lot harder than it actually is.
Re: Ask HN: Advice for 14-year-old who wants to learn to code?
#26I started in OSes and filesystems, but I recommend hitting Cmd+Alt+i on this page and typing: var comments = document.querySelectorAll('.comment'); [].forEach.call(comments, function(comment){comment.style.backgroundColor = "#ffaa44"}) Instead.
Re: Ask HN: Advice for 14-year-old who wants to learn to code?
#27Re: Ask HN: Advice for 14-year-old who wants to learn to code?
#28Once he understands this, you should encourage to hack into Minecraft hacks.
Later you can ask him about start their own projects and help him when he got stuck.
Programming should be fun and using a language only a tool for their mind, so help him become passionate about build things for himself.
Re: Ask HN: Advice for 14-year-old who wants to learn to code?
#29Re: Ask HN: Advice for 14-year-old who wants to learn to code?
#30My son, who is a little younger than your brother, wanted to learn to code and I tried a number of things but they didn't really stick. He kept "wanting to" but never really learned past regurgitating the tutorial. Finally, he picked up my TI NSpire CX CAS and started playing with it. For us really old guys it's like the next, next, next gem TI 82 graphing calculator. The TI has always included a programming language…