This is why the title of the tutorial is called Lua Broken Down and not The TFS Framework Broken Down.
As I said nothing I said is directly linked to TFS, all Lua interfaces works pretty much the same way.
There is no reason to load a function 2 times.
Thank you, just read my posts once again to try and understand how he coulden't.@WibbenZ isn't saying you need to teach "the latest TFS framework", he's saying your code is inefficient.
Everything I have discussed in this tutorial up to the present is essential to know in order to write efficient scripts.
Now if you have nothing to positive to add please leave this thread and go write your own.
You have to be able to take all and any respons of all the codes you write.
In this case no, I can state it once again - your code might work, but can be alot better.
If you can't take criticism you should not post a thread like this, there will always be others with more knowledge then you.
All of us has to accept that.
* Reference this to string.format:
I can only speak for myself, but when I post something on our github page I expect people to write "do it this way insted, it's better".
After I do a quick google check and verify that it would actually be better, I start using that way insted aswell as patch it on my PR.
I don't go running away saying no you are totally wrong, ive done things like this before and it has worked.
And to make it more clearer ill quote one of your posts.
Math Example:
Code:2 x 2 x 2 x 2 x 2 = 10 -- long way 2 x 5 = 10 -- short way