#When it's good to use method and when to use local function or function
1 messages · Page 1 of 1 (latest)
Conclusion: use local to define a variable or a function
?
** You are now Level 2! **
Read
I did it not helping much
keeping it real, i dont think it matters too much. when you can though use local cause i think i rmeember reading osmehting about it being faster
local functions are only useable in that scope though
keep it in mind
but prob dont nest functions
just for cleaniness
Just read bruh
It clearly tells you the pros of using local instead of global
i want to know when to use local function and when to use private method.