Re:Mending the Bitter Absence of Reasoned Technical Discussion
by swolchok on Sunday April 05, 2009 @02:58PM
(#547604)
Sure -- minimizing the number of Python statements is a decent optimization heuristic in Python (and, as a bonus, that can help you optimize for human readers as well when not taken to extremes).
There's a selection bias here. If you write your compiler or interpreter or pathfinding algorithm in Python, it's going to be a lot more than 10× slower than if you wrote it in C (or Java or OCaml or whatever). So people don't write those programs in Python, so we don't get to compare them.
I've been writing about Python because I know more about it than I do about Ruby, but I think most of the same things are true of Ruby, as well.