-
-
Notifications
You must be signed in to change notification settings - Fork 157
Lua style guide
Patrik Juvonen edited this page Jan 8, 2019
·
3 revisions
Roughly following a template provided by airbnb/javascript.
- Types
- References
- Tables
- Strings
- Functions
- Classes
- Variables
- Comparison Operators & Equality
- Blocks
- Control Statements
- Comments
- Whitespace
- Commas
- Semicolons
- Naming Conventions
- Events
- Testing
- Performance
- Resources
-
1.1 Rule description goes here.
example-rule-tag
string
number
boolean
nil
function
thread
table
userdata
-- ...
-
2.1 Rule description goes here.
example-rule-tag
-
3.1 Rule description goes here.
example-rule-tag
Why? Explanation goes here.
-- bad -- ... -- good -- ...
-
4.1 Rule description goes here.
example-rule-tag
-
5.1 Rule description goes here.
example-rule-tag
-
6.1 Rule description goes here.
example-rule-tag
-
7.1 Rule description goes here.
example-rule-tag
-
8.1 Rule description goes here.
example-rule-tag
-
9.1 Rule description goes here.
example-rule-tag
-
10.1 Rule description goes here.
example-rule-tag
-
11.1 Rule description goes here.
example-rule-tag
-
12.1 Rule description goes here.
example-rule-tag
-
13.1 Rule description goes here.
example-rule-tag
-
14.1 Rule description goes here.
example-rule-tag
-
15.1 Rule description goes here.
example-rule-tag
-
16.1 Rule description goes here.
example-rule-tag
-
17.1 Rule description goes here.
example-rule-tag
Learning Lua
Read This
Tools
Further Reading
Books
Blogs