by peteretep · 15y ago · 0 comments
There are only two types of people who find Scala even vaguely interesting:
- Java programmers who have never used another reasonably powerful high-level programming language
- Programmers familiar with high-level programming languages who have a need (or want) to target the JVM
What am I missing here?
Maybe, one day, when the JVM finally keels over and dies and we're freed from the yoke of bad enterprise decisions, we'll all be able to use functional languages that were designed largely without compromise.
To me at least this is a very powerful and important thing.
PS: http://foursquare.jobs for anyone interested in working at a startup that does most of its work in Scala!
Also, I didn't know that .jobs was a top level domain.
On .NET they have it much better, F# is much more MLy.
Perl is not statically typed. You might think that's a good thing, but I don't because I routinely refactor in a large code base. I can make one change and start propagating it around until everything compiles and unless I've made a mistake it will all work. I don't make very many mistakes so I can improve a code base at rapid speed.
I understand this is because Scala can't use Hindley-Milner due to some OO reason or other but still.
due to some OO reason or other
Overloading would be that reason.What about OCaml? I've never used it, but I was under the impression it is sort of OO combined with ISWIM FP. I've been poking about and reading about Standard ML and the module system seems like it supports some quite powerful OO stuff, but I also haven't really wrapped my head around it.
I'm a Lisper and I basically don't know what I'm talking about here when it comes to ML and Scala. I do find Scala interesting though.
Scala's static type system also seems to be quite a bit more sophisticated than OCaml (though its type inference is crippled as a compromise).
Nemerle has been available at least since 2005, but I can't blame you for not being aware of it. I probably wouldn't have heard about it, had I not attended the university where it was invented.
Check it out: http://en.wikipedia.org/wiki/Nemerle
The research I'm doing as I wait for comments suggests that it's the power of Perl with some of the good parts of Java, and without having to lean on Moose to get decent OO...
https://github.com/foursquare/rogue/blob/master/src/main/sca...
or
the function/tuple/product classes found here: https://github.com/scala/scala/tree/master/src/library/scala
I don't disagree that letting people express themselves isn't always very useful...
It is a unique language, though. Functional, yet lets you program in nouns, unlike verb-obsessed lisps. Powerful type system, but less stodgy than Haskell. Terse, but fancier than Python. Plus access to rich and well-documented libraries by virtue of the JVM.
In my world (job) you either have to squeeze every possible cycle out of the innermost loops or get new hardware land on your desk which has an assembler and C compiler, maybe even a buggy, unfinished C++ compiler if you are super lucky. This probably sways me heavily against having an especially deep interest in all of these newer languages... I guess there might be some appeal if you are stuck with having to write code which targets JVM.
Real programmers write Fortran anyway, right? (j/k obviously they write C++ [j/k]) :)