Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Language ShowOff Part #1: Lua

Name: Anonymous 2011-01-21 19:45

Pros:
   * Tiny
   * Crossplatform
   * Easy to embed
   * Fairly easy to extend
   * Has no external dependencies
   * Easy to learn due to simple syntax
   * Has metatables, which allow creating objects, and with that, allow OOP

Contra:
   * The builtin stdlib doesn't allow much more than just basic IO
   * The stackoriented API might be confusing to those unfamiliar with the concept of stackbased APIs
   * Due to the do ... end syntax, closures and co tend to look clumsy:
   
       pcall(function()
           stuff ...
       end)

Name: Anonymous 2011-01-22 17:37

>>34
The only reason OO is kludgy in Lua is because metatables are utterly broken. As for declaring variables as local manually, that's a great indicator of a sane language (though it doesn't apply to C++ and Java).

>>35
Fuck off, troll.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List