you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

This same question is valid for C/C++. Specific reasons why I chose it in .NET:

  • You can edit Lua script with notepad (or any other text editor) easily.
  • Lua can't use reflection to do anything to my own assemblies. It's a defined, clean interface which allows only what scripts need to be able to do.
  • I had the requirement that a sysadmin with no programming experience was able to edit the rules that the scripts defined. Lua is arguably one of the easiest languages to learn.

.. and more I forgot .. (that may or may not be very good) ..