Combining The Best Of Python, Ruby, & Java??????

Paul McGuire ptmcg at austin.rr._bogus_.com
Tue Jun 13 06:02:15 CEST 2006


"Tim Daneliuk" <tundra at tundraware.com> wrote in message
news:nf81m3-l7k.ln1 at eskimo.tundraware.com...
> So it is claimed:
>
>
http://www.infoq.com/news/Scala--combing-the-best-of-Ruby-;jsessionid=CC7C8366455E67B04EE5864B7319F5EC
>
> Has anyone taken a look at this that can provide a meaningful contrast
> with Python?

Ok, here's the Hello World example from the Scala website:

object HelloWorld {
  def main(args: Array[String]) = {
    Console.println("Hello, world!")
  }
}

Opening and closing braces?
"def main(args: Array[String])"?
Console.println?

About the only Pythonic thing I can see here is the "def" keyword.
Otherwise, it looks too much like Java - no, thanks!

-- Paul





More information about the Python-list mailing list