Slashdot Mirror


Scala, a Statically Typed, Functional, O-O Language

inkslinger77 notes a Computerworld interview with Martin Odersky on the Scala language, which is getting a lot of attention from its use on high-profile sites such as Twitter and LinkedIn. The strongly typed language is intended to be a usable melding of functional and object-oriented programming techniques. "My co-workers and I spend a lot of time writing code so we wanted to have something that was a joy to program in. That was a very definite goal. We wanted to remove as many of the incantations of traditional high-protocol languages as possible and give Scala great expressiveness so that developers can model things in the ways they want to. ... You can express Scala programs in several ways. You can make them look very much like Java programs which is nice for programmers who start out coming from Java. ... But you can also express Scala programs in a purely functional way and those programs can end up looking quite different from typical Java programs. Often they are much more concise. ... Twitter has been able to sustain phenomenal growth, and it seems with more stability than what they had before the switch, so I think that's a good testament to Scala. ... [W]e are looking at new ways to program multicore processors and other parallel systems. We already have a head start here because Scala has a popular actor system which gives you a high-level way to express concurrency. ... The interesting thing is that actors in Scala are not a language feature, they have been done purely as a Scala library. So they are a good witness to Scala's flexibility..."

6 of 299 comments (clear)

  1. Oooooooohhhh.... by gestalt_n_pepper · · Score: -1, Troll

    Another next biggest thing for the "guys in Mom's basement" crowd.

    Learn C#, Java, C++ or VB.Net. Get a job.

    Learn {obscure fad language of the month created by college students who don't have to make money}, stay unemployed.

    It's either about money or masturbation guys. Learn the difference.

    --
    Please do not read this sig. Thank you.
    1. Re:Oooooooohhhh.... by gestalt_n_pepper · · Score: 0, Troll

      Ummm. No.

      Been both self-employed and employed by others in life. Plenty of choices. Most are lousy economic dead-ends (Gee! I think I'll learn Modula-2!). Recognizing this is highly adaptive. Ignoring it, highly maladaptive.

      Note: If the best engineering always won, would we all be using (ugh) Windows?

      I repeat, Software is about money or masturbation. Learn the difference.

      --
      Please do not read this sig. Thank you.
    2. Re:Oooooooohhhh.... by gestalt_n_pepper · · Score: 0, Troll

      Touche'

      Not bad if it's understood that it's the commonly practiced entertainment/educational activity noted earlier (Not that there's anything wrong with that!).

      --
      Please do not read this sig. Thank you.
  2. Re:Not sold on Scala by Anonymous Coward · · Score: 0, Troll

    You just said a lot of meaningless stuff. If you could write some specifics instead of this rather generalized rant I'd appreciate it.

  3. Re:O_O by Anonymous Coward · · Score: -1, Troll

    I think you are both faggots

  4. Strongly Typed programming languages by omb · · Score: -1, Troll

    The academic idiots, who rarely write big programs have been proselytizing strongly typed languages for 37 years, since Martin Richards devised BCPL so he did not have to teach fortran at MIT.

    Put simply, the problem is in the semantics, not syntax/slips, and LISP, Perl and OCaml are far more useful than C++, Java and C#. If you need raw speed use C+Assembler, else use something you feel comfortable to write and debug quickly. Strong typing helps _only_ weak programmers, the rest of us either (a) remember the types of our variables or (b) expect "1" + "2" -> 3, not "12".

    We have enough languages, but _not_ enough competent developers, and we will not find them in India or SE Asia.