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 3:47

Their scoping rules are broken. "Global by default" is shit. All code looks like

local local local local local
local local local local local
local local local local local local local local
local local local local
local local local local local local local local local local
local local local

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