View Single Post
Old 11-21-2013, 02:54 AM   #20
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

Quote:
Originally Posted by SaulT View Post
Proper namespacing FTW!

Would this include functions as well, or just variables?
Functions aren't global but careful naming is a good idea if you're designing or using an import file. I think function names can belong to namespaces now, so myLib.myFunc() might be a good pattern to use for that kind of thing.
IXix is offline   Reply With Quote