Re:Ask HN: Ruby, Python, or JavaScript for teenager?
by DiNovi on Saturday May 06, 2017 @04:41PM
(#14282143)
Sounds good, but then someone asks: Python 2 or Python 3? And then you realize python has it's own problems...
Ruby and Python are so similar though just go with one.
Also, a plug for Hanami, because people are still supporting non rails frameworks despite Rails dominance.
Re:Ask HN: Ruby, Python, or JavaScript for teenager?
by narimiran on Saturday May 06, 2017 @04:45PM
(#14282156)
> but then someone asks: Python 2 or Python 3?
And then you say: It is 2017. Python 3.
Re:Ask HN: Ruby, Python, or JavaScript for teenager?
by DiNovi on Saturday May 06, 2017 @04:52PM
(#14282196)
Sure, but a lot of useful machine learning libs are still dependent on 2
Re:Ask HN: Ruby, Python, or JavaScript for teenager?
by narimiran on Saturday May 06, 2017 @05:14PM
(#14282302)
> a lot of useful machine learning libs are still dependent on 2
If they are a beginner, they would probably start with scikit-learn, which works on Py3.
As does TensorFlow. As does Theano. Etc.
Re:Ask HN: Ruby, Python, or JavaScript for teenager?
by PascLeRasc on Saturday May 06, 2017 @04:58PM
(#14282221)
They're not starting with ML, and by the time they would it'll be trivial to "learn" Python 2 as a Py3 programmer.
Re:Ask HN: Ruby, Python, or JavaScript for teenager?
by afarrell on Saturday May 06, 2017 @05:39PM
(#14282413)
OP, if you are looking for specific recommendations, this book is free and good: http://openbookproject.net/thinkcs/python/english3e/
If you want to learn web programming, follow it up with this one that is also free: http://chimera.labs.oreilly.com/books/1234000000754/index.ht...
So, 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.