Conversation:
Notices
-
LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Wednesday, 05-Feb-2020 12:22:22 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} “If possible, you should always use local variables over global variables, unless there’s a specific reason otherwise.” — https://developer.roblox.com/en-us/articles/Variables #Lua
Going to have to read about the language’s history. I’m sure Lua is young enough to have been created after we learned that global vars should be avoided, so why global by default instead of only when expressly requested?