forked from GmodStarfall/Starfall
-
Notifications
You must be signed in to change notification settings - Fork 0
Code Style
ColonelThirtyTwo edited this page Dec 11, 2011
·
1 revision
I don't really care about code style that much, but please do these things if you write an addon for SF:
- Don't use GLua's C-like syntax. Eg, instead of using !, &&, ||, // use not, and, or, --. In other words, stick to pure Lua syntax.
- Document your functions and other stuff using LuaDoc syntax. There's a few additional tags, like @client / @server. Check SF's code for most of the ones I plan to implement.