|
|
|
|
|
by rdtsc
10 days ago
|
|
That is neat how that's possible to do! It would be nice if it would just do local by default as well. Basically swap the defaults: everything is local and only what's explicitly global is global? I realize it's not an easy thing to change at this point in the game. Maybe some compile pragma or another extension could help? But it should be a new default in a modern language. |
|
I would love to see a POSIX standard for Lua (probably based on Lua 5.1); it’s widely enough deployed that a standard for it would make sense. Right now the standard is either PUC Lua 5.1 or whatever the latest release of PUA Lua is at a given time.
I prefer Lua over Perl/Python/Ruby because I know I can get a Lua runtime going in whatever environment I’m in—e.g. when writing my Lua book, I used my personal fork of Lua 5.1, but the person I was writing the book with was using Moonsharp (Lua in C#) since they were a C# developer. We could easily share code with each other.