You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mh I'm not a big fan of the idea, to be honest: it may cause the name of functions to quickly explode in length. I'm not sure I understand the reference to collections, though?
That's why I was only suggesting one letter, so that it doesn't make it much longer. But I understand you skepticism. It's only an idea, anyway.
"Collection" is just a possibility I came up with for the scripts in the lua/engine folder. I already used e for the functions exposed by the C engine code, so that's why I needed something else.
But it works the other way too: cFunction for functions exposed by the C code, and eFunction for functions in Lua that are shipped with the engine.
I did not want to PR this until I get your opinion:
I believe it would be useful to differentiate the source of Lua functions with a prefix:
e
forengine
ork
forKIAVC
, e.g.eShowObject
.kiavc
prefix, e.g.kiavcRequire
and logging.lua/engine
folder could bec
forcollection
ore
if not taken above.engine
could be misleading here, soe
above andc
for this, which is better also in that they are both one-high letters, unlikek
.The text was updated successfully, but these errors were encountered: