re: Emulating "Private" Variables in JavaScript with Closures and Factory Functions VIEW POST

re: Prepending private variables with an underscore is a convention that has been used by c/c++ developers since the beginning of time. I still do it t...

Interesting. Thank you for the insight.

As an older dev who has long grown past his C/C++ zenith, I can't say it was a convention I was ever exposed to in the workforce myself; surprisingly. Can't say I ever really bothered to look it up either. 😖 Sounds like I need to get out more. 😀

code of conduct - report abuse