Posted 07 November 2016 - 10:24 PM
I knew classes a long time ago and i played with them, but i ever saw a big security lag on it. Now, after recoding my thread API with an half of the old size, i saw the power in classes, so:
Hey guys,
I have some questions about classes:
What information should i save in classes?
What is with other objects in classes?
Which metamethods are the important ones for classes except __index?
When are classes more usefull than APIs/utilites?
When are classes less usefull then APIs/utilites?
How could i implement static methods?
Why CC uses just enclosures (i dunno the exact name for it)?
Are there common usefull techniques in reference with classes?
Thanks in advance
Sewbacca
Hey guys,
I have some questions about classes:
What information should i save in classes?
What is with other objects in classes?
Which metamethods are the important ones for classes except __index?
When are classes more usefull than APIs/utilites?
When are classes less usefull then APIs/utilites?
How could i implement static methods?
Why CC uses just enclosures (i dunno the exact name for it)?
Are there common usefull techniques in reference with classes?
Thanks in advance
Sewbacca