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

You also can do it in java: http://www.fordevs.com/2008/11/reflection-is-mechanism-by-wh... . As a python programmer who never uses "private" variables (I use a single underscore to indicate fields that shouldn't be used), I'm a bit torn as to which private variable abuse method is uglier :)


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

Search: