Quote:
Originally Posted by cbkbud
I like this.private.foo, but maybe it could be accessed within the script with just this.foo?
The idea of _var and _func sounds really bad to me, would make code look messy in my opinion.
|
this.private seems a bit long winded. If anything, an underscore would be best. If we're talking in terms of "messy" coding as in unreadable, I'm sure a protected variable using underscores would be more noticeable than a this.protected prefix.