lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>  Hello world
>  Variable types
>  Simple String Handling
>    #stringname
>    string.format()
>    string.sub()
>    string.match()
>    Mention but don't elaborate string.gsub() and "regex"
>  Console I/O
>  File I/O
>  Branching
>  Looping
>    While
>    Numeric for
>    Generic for with pairs() and ipairs() only
>  OS Interface

I'd consider most of these things incredibly boring when having to
watch as presentation, at least for someone who know any programming
language this "while, for" things are just sad to hear yet another
time. For someone who didnt one presentation to introduce into coding
is far from enough. Its like dancing, you dont learn much about how to
do it, by looking at it. Ah okay, yet another "for loop" syntax, yet
looks slightly different than the dozend other of a dozend other
languages, who cares? Make a bit more complicated hello world with a
loop, some IO maybe and thats it to get a rough view how the language
looks feels like. Then as viewer I'd rather look up all the details
the moment I need to code them.

Instead how about to focus on what makes Lua different and get more
the overall picture instead of the "how do I open a file details",
when they really at it they can still google and find the online
version of PiL (for all these its good enough). More overall picture
would be: associative tables for everything, only one numeric type,
static weak typing, concat operator, the lua speciality of boolean
operators, first class functions for the intro. Metatables,
"pseudo"-OOP and the mention of register based VMs and LuaJIT and its
FFI dialect for the extra. Maybe you might want read up on Lua history
and mention it as well. What niche does Lua actually fill? For which
fields it doesnt?