News for hackers. Stuff that matters.
Re:What's better about Ruby than Python? - comp.lang.python by cageface on Thursday August 26, 2010 @07:19PM (#1637470)
Both languages offer the unvigilant programmer plenty of opportuities to shoot off his foot. If you're really concerned about this you should take a look at scala. I'm amazed at how much easier it is for me to maintain my own scala code than either ruby or python.
Re:What's better about Ruby than Python? - comp.lang.python by jshen on Thursday August 26, 2010 @07:43PM (#1637535)
and so much harder for me to maintain someone else's scala code. It feels like statically typed perl, but that's just mho.
Re:What's better about Ruby than Python? - comp.lang.python by cageface on Thursday August 26, 2010 @08:35PM (#1637655)
It is possible to write very cryptic scala code. Mine isn't, but neither was my perl.
Re:What's better about Ruby than Python? - comp.lang.python by sreque on Friday August 27, 2010 @12:29PM (#1639291)
At least with version 2.7, I actually really enjoyed looking at the Scala standard library code when the documentation wasn't sufficient for my needs. That's no knock on the scala documentation either, as I frequently look at the JDK standard library source code too. I've also had a couple of similarly positive experiences digging around the Lift code.

What other "someone else's" Scala code have you actually had to look at and maintain that you had problems with? In my experience, I only have a hard time understanding Scala code when it is doing something I'm conceptually unfamiliar with, usually something in the functional world that I know little or nothing about.

Re:What's better about Ruby than Python? - comp.lang.python by jshen on Friday August 27, 2010 @07:28PM (#1640637)
it's been a while so I don't remember the specifics but it was code for dealing with json in a lift code base.
Re:What's better about Ruby than Python? - comp.lang.python by whakojacko on Thursday August 26, 2010 @11:18PM (#1637911)
Yea, you can make scala look like haskell, java, or perl with relative ease. Up for debate whether thats a good thing or not.