Lua missions (AKA Lua Koans) - Learn Lua while programming
Posted: Wed Jun 08, 2011 10:43 pm
I wasn't sure about putting this on the projects forum, since it's really only tangentially related with LÖVE, so I'm putting it here.
I've created a Lua Koans project. It's called Lua missions. It's here:
https://github.com/kikito/lua_missions
What are Koans?
Basically, they are tests (functions) that fail - at least initially. You have to fix them. In the process of fixing them, you learn a tiny bit of a language. It starts with the very basic and gradually moves up.
Yesterday I presented these to some people and they were quickly hooked up - they didn't want to leave the keyboard when time run out!
Disclaimer: This is not a finished thing, I'm aware that not the whole PiL is covered. (But a significant chunk already is). Feedback of any kind is encouraged and appreciated (as well as pull requests and forks).
Regards!
I've created a Lua Koans project. It's called Lua missions. It's here:
https://github.com/kikito/lua_missions
What are Koans?
Basically, they are tests (functions) that fail - at least initially. You have to fix them. In the process of fixing them, you learn a tiny bit of a language. It starts with the very basic and gradually moves up.
Yesterday I presented these to some people and they were quickly hooked up - they didn't want to leave the keyboard when time run out!
Disclaimer: This is not a finished thing, I'm aware that not the whole PiL is covered. (But a significant chunk already is). Feedback of any kind is encouraged and appreciated (as well as pull requests and forks).
Regards!