Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I totally agree that the getter/setter scourge in Java is terrible but better languages like Scala or Python allow you to access fields with simple dot syntax and still inject getter/setter code.

My point was that without having a schema (which is essentially what a case class or ADT is) it makes to very hard to understand what objects are being passed around.



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

Search: