That's pretty much par for the course. I mean, *any* serious language nowadays has to have basic functional features -- there are too many useful patterns that you just plain can't do without first-class functions and closures. Even Java has them nowadays (if very, very badly designed).
But Scala is very deliberately trying to walk the hybrid line, with all of the full-bore power of both OO and Functional. They wind up with some compromises here and there, and we had a fascinating argument recently on scala-debate that you can't really *learn* functional programming in Scala (because it's too easy to cheat), but it does a surprisingly good job of doing well on both sides...
(no subject)
Date: 2011-04-15 03:18 pm (UTC)But Scala is very deliberately trying to walk the hybrid line, with all of the full-bore power of both OO and Functional. They wind up with some compromises here and there, and we had a fascinating argument recently on scala-debate that you can't really *learn* functional programming in Scala (because it's too easy to cheat), but it does a surprisingly good job of doing well on both sides...