News for hackers. Stuff that matters.
Re:Just why did people start using Python anyway? by qwph on Thursday October 09, 2008 @02:01PM (#328074)
Maybe it's just me, but I like doing it this way in Ruby:

   100.times { puts "Ruby" }
Not that there's anything wrong with your approach, but I just like the way that my code reads almost like English.
Re:Just why did people start using Python anyway? by hugh on Thursday October 09, 2008 @02:40PM (#328112)
Eleven characters! Beats Fortran by four. We have a winner!

(Counting only the loop-related characters, leaving out whitespace.)

Unless anyone has a shorter way of doing something one hundred times?

Re:Just why did people start using Python anyway? by davidw on Thursday October 09, 2008 @02:44PM (#328120)
I think if you want to talk about advantages though, with Fortran you're going to want to talk about the speed, not the brevity. Ruby is quite poky by comparison.
Re:Just why did people start using Python anyway? by hugh on Thursday October 09, 2008 @03:59PM (#328192)
Oh, for sure, but I'd hate to get drawn into the world's Nth general discussion of the advantages and disadvantages of programming languages. That would be dull.
Re:Just why did people start using Python anyway? by davidw on Thursday October 09, 2008 @04:18PM (#328209)
Actually, compared to batty discussions of economics or "politics!!!!!!", it's kind of soothing.