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

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



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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: