CamelCase
- BraveCaperCat
- Filter Inserter
- Posts: 326
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
CamelCase
Why do the developers use snake_case (or snake-case when not using lua) and not CamelCase? They should always be consistent but... why did you pick one over the other? They seem to be just as good and error_free and ErrorFree.
Creator of multiple mods, including Quality Assurance - My most popular one. Expect multiple modding-related questions, answers and other posts.
Re: CamelCase
I suspect it's because the C++ code is written in CamelCase (see the internal class names here), and they want an easy way to keep the lua functions distinct.