Ask HN: Ruby, Python, or JavaScript for teenager?
1–10 of 50 posts
Re: Ask HN: Ruby, Python, or JavaScript for teenager?
#2Re: Ask HN: Ruby, Python, or JavaScript for teenager?
#3But in general, I would not focus on which language is better but which language can be used to improve something that they already do. For a writer, Emacs Lisp might be a good choice. For a photographer, Lua and Darktable might be a good choice. For a graphic artist, Python and Gimp or Inkscape. It's not programming language that matters so much as programming practice.
There are also languages like Snap that are beginner friendly.
BTW, if it's on their own, then it might make sense if the 18 year old chooses. It's ok if they change their mind.
Good luck.
Re: Ask HN: Ruby, Python, or JavaScript for teenager?
#4Re: Ask HN: Ruby, Python, or JavaScript for teenager?
#5Do they like PC games? Maybe look into C# scripting for Unity. Lua is used for scripting/modding in tons of games. Minecraft I believe is one of the big ones.
Do they like mobile apps? Java, Swift, Xamarin, NativeScript all come to mind.
JavaScript, Python, and Ruby are all wonderful, but I'm just wondering if there's a reason to limit it to those three. I'd say whatever technologies fall in line with the kids interests are best.
Re: Ask HN: Ruby, Python, or JavaScript for teenager?
#6After learning fundamental concepts he can easily start learning more complex languages and concepts with practical applications. For example he can learn Java and Android programming or alternatively Web programming with Python/Django or Python/Flask.
Re: Ask HN: Ruby, Python, or JavaScript for teenager?
#7Re: Ask HN: Ruby, Python, or JavaScript for teenager?
#8Re: Ask HN: Ruby, Python, or JavaScript for teenager?
#9So, it's Python. Python has footholds in a variety of places. It's not the most expressive in some respects, but the built in types are more than sufficient to power any student code.
A possible alternate is Go. Go doubles down on keeping you out of trouble by pressing so much code into a uniform style. This may excite some students and frustrate others depending on which threads of thought they're trying to follow.
Re: Ask HN: Ruby, Python, or JavaScript for teenager?
#10Is there any reason you're only asking about those three languages? I'd say cater to the teenager's interests. Do they like PC games? Maybe look into C# scripting for Unity. Lua is used for scripting/modding in tons of games. Minecraft I believe is one of the big ones. Do they like mobile apps? Java, Swift, Xamarin, NativeScript all come to mind. JavaScript, Python, and Ruby are all wonderful, but I'm just wondering…