Hacker News new | past | comments | ask | show | jobs | submit login

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".




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.


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.


The library tomh linked to is not a part of the Scala language or the standard library.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: