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

wut? Java has always had getters and setters


Downvoted for stating an objective fact?


(I didn’t downvote you)

In my post, I’m referring to Java’s refusal to adopt “properties” (i.e. methods invoked using the same syntax used for fields) like VB, C#, JavaScript, Swift, et cetera.


Right. They're usually called properties, rather than getters and setters.




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

Search: