Re:Scala Considered Harmful For Large Projects?
by fogus on Thursday February 17, 2011 @02:10PM
(#2232334)
Take a look at this sample (http://static.springsource.org/spring/docs/2.5.x/api/org/spr...) and see if you can figure out how to use these classes just by looking at them.
That's the kind of abuse possible with languages such as Java.
---
Seriously. Every new API that you intend to use has a learning curve, some more significant than others. Every new API is a new "language".
Re:Scala Considered Harmful For Large Projects?
by nl on Thursday February 17, 2011 @09:20PM
(#2233934)
I think if you are familiar with the domain that API applies to (Aspect Oriented Programming) then you will instantly understand how to use them.
If every API is a new language then you are doing it wrong - the API should respect the conventions of both the computer language it is in, and the domain-specific terminology of the domain it serves.
Re:Scala Considered Harmful For Large Projects?
by Stormbringer on Thursday February 17, 2011 @04:35PM
(#2232969)
It's not really a fair objection. AOP isn't part of Java, it is an ugly hack that someone bolted onto the outsides of it.
Seriously. You write your Java code, you compile it, and then in the night the evil AOP pixies sneak in and slip chunks of bytecode into your compiled classes.
Thats the kind of abuse possible with languages such as Scala, Haskell or c++ templates.