- Joined
- Feb 26, 2022
- Messages
- 13
So, Lua has an officially sanctioned list of proper naming for their language, found here: GitHub - luarocks/lua-style-guide: Lua Style Guide, as used by LuaRocks
But, the problem is that Blizzard functions do not follow this.
For example, I don't think I can think of a single Blizzard function that uses snake_case in the name, which is how Lua tells you to do it.
So, which, in the opinion of HiveWorkShop is worse:
Inconsistent naming, since we have to use Blizz' function names, but we can at least stick with tradition on user-defined functions?
or
Following Blizz' naming conventions, which is consistent but results in more code heresy against Lua?
But, the problem is that Blizzard functions do not follow this.
For example, I don't think I can think of a single Blizzard function that uses snake_case in the name, which is how Lua tells you to do it.
So, which, in the opinion of HiveWorkShop is worse:
Inconsistent naming, since we have to use Blizz' function names, but we can at least stick with tradition on user-defined functions?
or
Following Blizz' naming conventions, which is consistent but results in more code heresy against Lua?
