3 ms·
To me, Lua feels like "Javascript done right". I only find the `end` syntax very annoying to write.
by ATsch 10y ago
To me, Lua feels like "Javascript done right". I only find the `end` syntax very annoying to write.
- omaranto 10y agoConfigure your editor to do it for you, just like most people do for closing braces.
- Retra 10y agoThen you'll just have an annoying editor and an annoying language.
- kazagistar 10y agoExactly. I learned Javascript after Lua, and it was pretty similar, except a bunch of clearly worse design choices, and a pile of complexity mostly related to the web platform. (Why is this magical? Why aren't returns symmetrical to inputs? Why are the semicolons and other syntax so silly? Where are the cooperative coroutines? Why are the types and conversions so much more complicated without adding any additional value? Why all the extra ceremony around what is fundamentally the same prototype OOP system? Etc, etc.)
- njbooher 10y agoYes, except for 1 based indexing.