• August27th@lemmy.ca
    link
    fedilink
    arrow-up
    32
    ·
    edit-2
    5 months ago

    O.C.: Have you consulted about this “tables” approach with other Lua developers?

    I.T.: After that, I went back to Dmitry and asked him if my understanding of “everything is a table” was correct and, if so, why Lua was designed this way. Dmitry told me that Lua was created at the Pontifical Catholic University of Rio de Janeiro and that it was acceptable for Pontifical Catholic Universities to design programming languages this way.

    Lol what? Is there some kind of inside joke about Catholics and tables?

    • GroteStreet 🦘@aussie.zone
      link
      fedilink
      English
      arrow-up
      8
      ·
      5 months ago

      My understanding of the joke is less about tables, more about pontification; I.e. “it is so because we say it is”.

  • RenardDesMers@lemmy.ml
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    5 months ago

    When I read this kind of stories about game dev where unit tests are very optional, I don’t really regret not working in this industry, especially now with all the layoffs.

    • deathmetal27@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      5 months ago

      Working in enterprise software development really hammers in the importance of unit tests and integration tests.

      • smeg@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        It seems that obscure bugs are a much bigger deal when the customer is a billion-dollar bank compared to a single player, not that surprising really!

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    5 months ago

    Love Lua. I just wish the ecosystem wasn’t a choice between a fast JIT implementation and a traditional one that’s compatible with the latest version of the language.

  • Renegade@infosec.pub
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    5 months ago

    … the lack of an increment operation, no “continue” instruction, and array indices starting from 1 instead of 0. These differences can be jarring

    Understatement

  • Llituro [he/him, they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    8
    ·
    5 months ago

    Fun related fact: both Hades and Hades II are also mostly Lua scripts. And they ship the source code with both games so you can just go look at things like how fishing probabilities are implemented directly in the script.

  • maiskanzler@feddit.de
    link
    fedilink
    arrow-up
    5
    ·
    5 months ago

    Coming from Rust I am toying around with Lua at the moment. Lua is a small, simple and I would say a very neat language. But for big projects like an entire game I would personally much prefer a “traditional” compiled language like C/C++, Java/C# or Rust. Scripting langs are great for small scopes, but they quickly become a burden for bigger things in my opinion.