Quote:
Originally Posted by Inverness
Control-NPC can join classes.
|
So can everything other object which allows access to functions which, in turn, provides your precious 'global functions'. So instead of asking for an update which lets you use one less word and a dot, how bout we use what is already there? And before you go all, "but lol global functions already exist!", I'd say there'd be quite a difference between hard coded global functions and gscript ones. Inheritance is more likely. (achieveable by classes!).
Request actual features...not just solutions for pure lazyness. Also, don't go running around calling it 'encapsulation'. Encapsulation is like the process of encapsulating a udp/tcp header/data into an ip packet. For gscript, encapsulation would be more like taking a piece of data and adding it to a self-sufficient container...which undermines the point of 'global functions'. Funilly enough, this could be more readily achieved with classes.
When requesting something, try explaining what it will achieve and how the current system can't easily achieve the same effect
