support for c++ scripts?

  • TheSupaMario
    20th Aug 2019 Banned 0 Permalink
    This post is hidden because the user is banned
  • LBPHacker
    20th Aug 2019 Developer 0 Permalink

    The simple reason is that you can't write scripts with C++, as it's not a scripting language.

  • TheSupaMario
    20th Aug 2019 Banned 0 Permalink
    This post is hidden because the user is banned
  • moonheart08
    20th Aug 2019 Member 0 Permalink

    a /lot/ of reasons. Let's just say that using C++ as a scripting language is bound to blow up in your face, break, and then be nigh impossible to debug.

  • TheSupaMario
    20th Aug 2019 Banned 0 Permalink
    This post is hidden because the user is banned
  • LBPHacker
    20th Aug 2019 Developer 0 Permalink

    Python had been used before Lua took its place.

    Edited once by LBPHacker. Last: 20th Aug 2019
  • TheSupaMario
    20th Aug 2019 Banned 0 Permalink
    This post is hidden because the user is banned
  • moonheart08
    20th Aug 2019 Member 0 Permalink

    Lua is a very easy to embed language, and using it puts less load on the developers. Alongside that, python is no-where near as lightweight or fast as Lua, meaning elements written in Python would perform even worse than Lua.

  • TheSupaMario
    20th Aug 2019 Banned 0 Permalink
    This post is hidden because the user is banned
  • moonheart08
    20th Aug 2019 Member 0 Permalink

    Less code does not equal better code.

    If you want shorter loops, then why not use a codegolf language? Sure it'll be slow, but the loop is shorter.

    Lua makes a lot of choices for readability, to make code maintainable, and the language's simplicity helps it run fast.
    Python makes choices to be concise. It's not as readable, but it's quick to write and runs at a OK speed.

Locked by Mrprocom: End of argument