News for hackers. Stuff that matters.
Re:"I couldn't really learn Erlang, 'cos it didn't exist, so... by tokipin on Thursday January 24, 2013 @03:02PM (#5111827)
just a note: Lua is basically a very cleaned up version of Javascript. if their APIs were the same you could practically do a literal transcription between them and most programs would run with little alteration. that includes things like object literals (lua tables).

example:

  (function(a, b) { return a * b; })(1) //valid javascript (NaN)
  (function(a, b) return a * b end)(1) //valid lua (runtime error)
Re:"I couldn't really learn Erlang, 'cos it didn't exist, so... by interpol_p on Friday January 25, 2013 @06:25AM (#5114946)
I love Lua because of it's reluctance to use symbols (such as braces). It's mostly an aesthetic thing. I think it looks great.