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

Of course it depends on who's using your code. In java, if you have an api that other people are using, then you must use getters and setters. In python there is no such restriction.


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

Search: