Ask HN: Does Ruby offer better support for learning than Python?
At the risk of starting a flame war, I am genuinely curious as to everyone's thoughts about whether Ruby offers better support for learning programming.
This has partly been instigated by three initiatives shared on HN: 1. Dev Bootcamp (and also Code Academy), 2. Bloc and 3. The Bastards Book of Ruby.
While there are good resources for learning Python, I'm getting the impression that Ruby has a bit of an edge. Am I wrong?
12 comments
[ 2.8 ms ] story [ 32.2 ms ] threadI tend to agree with you that the Ruby community does offer more learning resources, but then maybe I've just not been looking in the right places for Python guides.
It made the list... http://dlfrancisco.posterous.com/pages/learn-code
It's incredibly easy to get a little bit into either. Ruby however hits a HUGE hockeystick of difficulty when you start to use the web tools (the primary use case for ruby).
Python however seems to have tons of non-expertise intensive uses that are not primarily used by professional programs. Scipy et all, etc. The "mouthfeel" of the communities is considerably newbie friendlier on the python side in my opinion.
tutor@python.org is great
Zed Shaw's Learn python the Hard way is good
Alan Gauld's Learn to program site is great
I find Why's guide both outdated and discursive to a harmful degree.
This question gets asked here at least once a month, so check out the search box at the bottom of the page. There's a bunch of good suggestions for each path.
Python is great if you just want to "learn programming." It's very noob friendly and there are tons of libraries.
Rails is great if what you really want is to learn web programming (and Ruby if you're learning Rails).
JavaScript is great if you want to learn UI programming for web and light mobile.
etc. etc.
Languages are just tools.
Aspiring Ruby programmers, who are usually web developers, go looking for these hip resources like codecademy and screencasts and whimsical online books. Aspiring Python programmers, who are often scientists just trying to do machine vision or numerical computing research, might be more likely to use the Python mailing lists and old-school resources--which are just as useful.
I think it is also important that one will find support where one is eager to learn. Python is a great language, however the Ruby & the Rails community is a better "Learning" fit for me. The vibe is right. Find your vibe and run with it.
My vote goes to Ruby/Rails however I am certain many can make a similar Python case.
http://www.swaroopch.com/notes/Python
http://greenteapress.com/thinkpython/thinkpython.html
Thanks for your thoughts and the sources. I've looked at both and they are both quite useful. I've been using these:
http://learnpythonthehardway.org/ http://greenteapress.com/thinkpython/ http://thenewboston.org/list.php?cat=36
My learning has taken a bit of a hiatus since I've been really busy lately though.