lua-users home
lua-l archive

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


On 26/06/2013 08:41, steve donovan wrote:
http://tylerneylon.com/a/learn-lua/

The reddit thread is good reading:
http://www.reddit.com/r/programming/comments/1h0wuv/learn_lua_in_15_minutes/

I suspect this is going to work like 'Learn C++ in 24 hours' ;)

I like to do such program / script in the languages I am learning.
For example in Scala:
http://bazaar.launchpad.net/~philho/+junk/Scala/view/head:/Base.scala
(became quite too big with corner stuff, I should separate advanced stuff)
Currently doing this with Go...

This one is well made; one of the challenges is to avoid to use a feature before it is introduced properly. :-) I did that with my Lpeg chapter in the French Lua book or my regex tutorial: I was always annoyed when the writer of a tutorial casually used a feature, then explained it later.
I try also to use near-real life examples: matching something in aaabbbcbbba is boring... ;-)

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --