Monkey2 namespaces?
Community Forums/Monkey Talk/Monkey2 namespaces?| 
 | ||
| So I've been looking into the new Monkey 2 stuff and namespaces caught my eye, reading about them am I missing a trick or a useful byproduct of using them over that I've usually done to avoid clashes. Currently I'd wrap associated functions & variables into a Type\Class With namespaces I guess i'd do; | 
| 
 | ||
| Yes that's exactly what you can do, quite handy. And they're hierarchical as well so you can organise them further is you need to, ie Main module: Namespace timelinefx sub module: Namespace timelinefx.collision | 
| 
 | ||
| . | 
| 
 | ||
| Namespaces have allowed me to remove all the horrible, HORRIBLE pr prefixes for all Pyro classes and functions! |