12

Lua is one of the stupidest languages to ever exist.

Oh, the language is easy to learn? The syntax is friendly? There's only like negative 10 functions you ever need to know? Everything is a table?

EVERYTHING IS A TABLE?! WTF CARES? WHAT ABOUT NIL?!

The arrogance this language has is extraordinary, literally. No lang, except Lua, imposes such an opinionated dichotomy. Everything is a fucking table, or, it's nil. -- That's so fucking stupid.

And look, I get it, this lang (oh sorry, scripting language (?)) CAN be good and fun and whatever... the moment you start to do IO is the literal end of days.

Everything is nil. Except, if it's defined... then it's not nil. -- OK. That sounds sensible/reasonable enough. -- What if it's not defined? You get nil. What if it's not the right data? You get nil. Do I get errors/exceptions or whatever? No, absolutely not, you get nil... unless the application you're using with Lua with has a lib that handles that.

There are so many more issues I have with this lang, but honestly... Am I fucking missing something? Is this lang like actually super dooper awesome and I'm missing something? -- I can't not look at this language as just dumb and arrogant. -- It's literally a language where you have to manage and remember ALL conceivable state at ALL times.

Comments
  • 3
    It might be a matter of expectations. As far as I'm concerned, Lua is not a general purpose language like Perl or Python. It's a language meant to be embedded into other programs as a scripting interface for them, and as such it provides a certain balance between power and simplicity. As an interpreter for script files a la Python or Perl is quite less useful, but that's because that's stretching its purpose IMHO.
  • 5
    I learned LUA years ago from GarrysMod.

    If I learned anything, it's that gmod has nothing good to teach you.

    LUA is terrible.
  • 3
  • 0
    oh shit fam no you didn't @AlgoRythm do yo magic
  • 2
    @AmbientTea How did you know what my error message was?
  • 2
    @sariel or creating StarCraft II mods and maps... Also mindfuckery on highest levels... Imagine the army of autists that worked at Blizzard just to create the campaigns....

    Good game though
  • 0
    @NeatNerdPrime I can hear the screeching from 2009 from here because of that comment.
  • 1
    @ethernetzero you're totally right. I'm ranting about lua bc it's opinionated to such to an extent, that it forces you to use it's own special data structures. -- This *normally* wouldn't be a huge issue, but since lua is literally tables or nil, it does become an issue stupidly quickly. -- This is not simplicity. This is the fucking opposite. You're managing state *and* any/all conceivable state
  • 1
    Metatables hooooooie yuppie!
  • 1
    @sariel honestly, breath of fresh air to know that lua is disregarded/hated just via a proxy (mods)
  • 0
    @vintprox I cannot, literally, think of any point in time where lua metatables should be introduced to anything. -- I seriously think if you're at that state, you have tremendously bigger problems that implementing lua metametables
Add Comment