Skip to content
Discussion options

You must be logged in to vote

As you can see, it's a mess. Lowercase class names are usually inherited — not only from IntelliJ Emmylua, but some were copied from LuaLS as well. To make the two type systems as compatible as possible in practice, we generally treat built-in types as lowercase. We also believe classes with complex generic capabilities should be capitalized; this convention comes from TypeScript. The std prefix is added to prevent conflicts with user-defined types.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bjornbm
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants