3 ms·
I just finished building an internal web application for my school entirely in Java. From start to finish it took about eight hours, roughly the same amount of
by nickbarnwell 16y ago
I just finished building an internal web application for my school entirely in Java. From start to finish it took about eight hours, roughly the same amount of time it would've taken in Python/Django or RoR, thanks to the Play Framework.
Java doesn't need to be ridiculously verbose, others have mentioned much of that verbosity stems from basic functions not being included in the standard library. Python's opening of a file isn't any more elegant than Java's if you look at the code behind open(), it's just abstracted away.
- xiongchiamiov 16y agoThere are some things that Java just is more verbose at. For instance, my pet peeve - accessor methods. Most other modern languages have properties, which allow you to only write special cases when you need them.
- nickbarnwell 16y agoThis is one of the things that Play does well; setters and getters are generated for you at runtime so you only have to write it as: public Date submittedAt; and set/get it as you would any other variable. Easily one of my favorite things about the framework, and saves my { and } keys work as well.