View Single Post
  #24  
Old 09-26-2007, 01:46 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Twinny View Post
GKs mud functions are hard coded into the NPC-Server
Those are global functions pointing to object functions, obviously you're not understanding dynamic globals would do the exact same thing.
Quote:
Originally Posted by Twinny View Post
Nothing stopping you from doing this with classes. It can be organized in exactly the same way .
How many times do I have to say it? Classes are unnecessary for a small amount of functions, especially when I don't want them added to the function/variable list for the object.
Quote:
Originally Posted by Twinny View Post
And you're right, gscript is not like other languages which makes it confusing when you bring up OOP programming concepts like, "encapsulation" and even quote them then try to relate it to different concepts .
Same with your private variables. I explained my reason for practicing Encapsulation in an earlier post.
Quote:
Originally Posted by Twinny View Post
Pretty sure the burden is on you to prove why these updates are necessary: not the other way around.
I do not think so. The 'update' is an addition of one object to the function look up, something so simple is easy to add (or should be) and would require no/minimal effort so there should really be no reason NOT to do it.

Please tell me why GK is allowed to have global functions pointing to object functions yet we're not? When they're certainly possible dynamically as Stefan has said. I'm going to be honest and say absolutely nothing will convince me why Global functions shouldn't be allowed until this is explained.
__________________

Last edited by Inverness; 09-26-2007 at 02:27 PM..
Reply With Quote