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

Not a bad idea. We would typically use _onClick for any component handler methods, so the _ would distinguish it. We have an internal transform that mangles anything in a module starting with _ so that it cannot be accessed outside.


I also prefix with _, if only to indicate what's private and what's API. Mind sharing your transform?




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

Search: