User:Ganaram inukshuk/Provisional style guide for Lua: Difference between revisions

Ganaram inukshuk (talk | contribs)
Created page with "The following style guide is a provisional guide adapted from the LuaRocks style guide: https://github.com/luarocks/lua-style-guide Parts of it are adapted to follow editing..."
 
Ganaram inukshuk (talk | contribs)
No edit summary
Line 39: Line 39:


== Spacing ==
== Spacing ==
Use a space after <nowiki><code>--</code></nowiki>. The lack of a space after <nowiki><code>--</code></nowiki> should indicate commented-out code.
Use a space after <code>--</code>, used for comments. The lack of a space after <code>--</code> should indicate commented-out code.