News for hackers. Stuff that matters.
Re:4 Languages you should learn in 2009 by vesan on Thursday November 13, 2008 @11:02AM (#363161)
I recommend checking out Ruby instead of Python.
Re:4 Languages you should learn in 2009 by razzmataz on Thursday November 13, 2008 @11:17AM (#363172)
Out of curiosity, could you elucidate why?
Re:4 Languages you should learn in 2009 by qwph on Thursday November 13, 2008 @01:59PM (#363426)
Python and Ruby are pretty equivalent in terms of what you can do with them. Given a choice between the two, I'd probably choose Ruby, as I personally find it to be less cognitively dissonant than Python.

I'm really not fond of having to haul the self parameter around all over the place in Python, and there seems to be some confusion between what's a function and what's a method. (Some of this is being addressed in Python 3 I think.)

The whitespace thing, I can just about cope with, but I always miss the colons off the end of lines. Oh, and at least on Windows, the supplied documentation is organized in a seemingly arbitrary manner (but at least it has an index if you know what you're looking for).

Having said that, Python probably has a better standard library than Ruby, so, meh, learn both and see which you prefer.

Re:4 Languages you should learn in 2009 by tyn on Thursday November 13, 2008 @04:15PM (#363603)
"..but I always miss the colons off the end of lines"

Well, if you miss them so much, just put them in.

Re:4 Languages you should learn in 2009 by qwph on Thursday November 13, 2008 @04:16PM (#363604)
Yeah, that's what the interpreter says... :(
Re:4 Languages you should learn in 2009 by pavelludiq on Thursday November 13, 2008 @12:09PM (#363231)
Chicks love rubies, but don't like snakes that much. :D

Seriously, you should probably learn both.

Re:4 Languages you should learn in 2009 by catch23 on Thursday November 13, 2008 @05:03PM (#363654)
well if you already know one, you might as well spend the time to learn something else that would give your brain a level up.
Re:4 Languages you should learn in 2009 by pavelludiq on Thursday November 13, 2008 @06:07PM (#363719)
yeah, a good tip, but still if you know one, you should at least go through the other ones tutorial just to know what you're missing :D
Re:4 Languages you should learn in 2009 by admin on Sunday December 21, 2008 @05:36PM (#405803)
Chicks Love hackers
Re:4 Languages you should learn in 2009 by charlesju on Friday November 14, 2008 @09:13AM (#364293)
Ruby on Rails has much more support and evangelism than Django and Python. Learning Ruby, in that sense, has a much more direct impact on your opportunities.