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

Simply appending a number to the variable name would be adequate to prevent name conflicts. Each method would only access its own static variable, so fancy C++-style name mangling would be overkill.


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

Search: