Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Minor update to README

  • Loading branch information...
commit e32f3f3db9f3189757502ed5756f94ed6abc2a43 1 parent 8fb8423
@cymen authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.markdown
8 README.markdown
@@ -21,6 +21,8 @@ Assumptions
Notes on Lua
+The Lua [style guide]( is a good overview of the language.
@@ -33,6 +35,11 @@ The manual has this to say about tables:
> The type table implements associative arrays, that is, arrays that can be indexed not only with numbers, but with any value (except nil). Tables can be heterogeneous; that is, they can contain values of all types (except nil). **Tables are the sole data structuring mechanism in Lua**; they can be used to represent ordinary arrays, symbol tables, sets, records, graphs, trees, etc. To represent records, Lua uses the field name as an index. The language supports this representation by providing as syntactic sugar for a["name"]. There are several convenient ways to create tables in Lua.
+Note that nil values in tables do not behave the same as in Ruby:
+ `{ nil }` == `{}`
+ `{ nil, 1, nil }` == `{ nil, 1 }`
@@ -50,3 +57,4 @@ Method names
It is not allowed to have `?` in a method name such as `play_again?`.
Please sign in to comment.
Something went wrong with that request. Please try again.