SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
+
                                TDD

Enrique García Cota (@otikik)
Lua
                                                                         Small, Fast, Embeddable
                                                                                            http://www.lua.org/

Image from: http://trestizas.wordpress.com/2011/05/05/radioproyectos-purposedes-y-eabe11/
Videogames




   Source: http://en.wikipedia.org/wiki/Category:Lua-scripted_video_games
Programs


Apache (mod_lua)

                                              Adobe Lightroom




                                                   Renoise
                      VLC




                            Source: http://en.wikipedia.org/wiki/Lua_(programming_language)
TDD libs
Luaunit
http://phil.freehackers.org/programs/luaunit/




Telescope                   ← my favorite


https://github.com/norman/telescope
Dojos, Katas   …
Koans?
Koans:
“Failing tests that illustrate
 language features”

         Learn a language through tests



                         Original idea: rubykoans.com
@ecomba:
“You can't call it Koans if you take out the Zen stuff”
Lua    Missions
      (A.K.A. Lua Koans)
Install Lua
      Windows: LuaForWindows.exe
      Mac: brew install lua
      Ubuntu: sudo aptitude install lua5.1



             run      Missions
git clone git://github.com/kikito/lua_missions.git
cd lua_missions/missions
lua missions.lua


      More info @ https://github.com/kikito/lua_missions
Thanks!



              Enrique García Cota (@otikik)
    egarcia@splendeo.es / kikito@gmail.com

Más contenido relacionado

Similar a Lua+tdd

Power to the People: Redis Lua Scripts
Power to the People: Redis Lua ScriptsPower to the People: Redis Lua Scripts
Power to the People: Redis Lua ScriptsItamar Haber
 
Redis: Lua scripts - a primer and use cases
Redis: Lua scripts - a primer and use casesRedis: Lua scripts - a primer and use cases
Redis: Lua scripts - a primer and use casesRedis Labs
 
Squeak & Pharo @ NYC Smalltalk
Squeak & Pharo @ NYC SmalltalkSqueak & Pharo @ NYC Smalltalk
Squeak & Pharo @ NYC SmalltalkSeanDeNigris
 
Ruby and Twitter at the Ruby drink-up of Sophia, January 2013
Ruby and Twitter at the Ruby drink-up of Sophia, January 2013Ruby and Twitter at the Ruby drink-up of Sophia, January 2013
Ruby and Twitter at the Ruby drink-up of Sophia, January 2013rivierarb
 
Dockerizing development workflow
Dockerizing development workflowDockerizing development workflow
Dockerizing development workflowOrest Ivasiv
 
Lua and fable jonathan shaw (lionhead)
Lua and fable   jonathan shaw (lionhead)Lua and fable   jonathan shaw (lionhead)
Lua and fable jonathan shaw (lionhead)Kore VM
 
Data science apps powered by Jupyter Notebooks
Data science apps powered by Jupyter NotebooksData science apps powered by Jupyter Notebooks
Data science apps powered by Jupyter NotebooksNatalino Busa
 
深層学習ライブラリの環境問題Chainer Meetup2016 07-02
深層学習ライブラリの環境問題Chainer Meetup2016 07-02深層学習ライブラリの環境問題Chainer Meetup2016 07-02
深層学習ライブラリの環境問題Chainer Meetup2016 07-02Yuta Kashino
 
Celery in the Django
Celery in the DjangoCelery in the Django
Celery in the DjangoWalter Liu
 
Using LuaJIT in mid-load web-projects
Using LuaJIT in mid-load web-projectsUsing LuaJIT in mid-load web-projects
Using LuaJIT in mid-load web-projectsAlexander Gladysh
 
FILEgrain: Transport-Agnostic, Fine-Grained Content-Addressable Container Ima...
FILEgrain: Transport-Agnostic, Fine-Grained Content-Addressable Container Ima...FILEgrain: Transport-Agnostic, Fine-Grained Content-Addressable Container Ima...
FILEgrain: Transport-Agnostic, Fine-Grained Content-Addressable Container Ima...Akihiro Suda
 
Introduction to Lua Luajit Openresty Luvit
Introduction to Lua Luajit Openresty LuvitIntroduction to Lua Luajit Openresty Luvit
Introduction to Lua Luajit Openresty LuvitLionel Duboeuf
 
Build and Run Containers With Lazy Pulling - Adoption status of containerd St...
Build and Run Containers With Lazy Pulling - Adoption status of containerd St...Build and Run Containers With Lazy Pulling - Adoption status of containerd St...
Build and Run Containers With Lazy Pulling - Adoption status of containerd St...Kohei Tokunaga
 
Big Data: Indexing ~50Tb of URIs
Big Data: Indexing ~50Tb of URIsBig Data: Indexing ~50Tb of URIs
Big Data: Indexing ~50Tb of URIsRobert Sanderson
 
Do you know all of Puppet?
Do you know all of Puppet?Do you know all of Puppet?
Do you know all of Puppet?Julien Pivotto
 

Similar a Lua+tdd (20)

Power to the People: Redis Lua Scripts
Power to the People: Redis Lua ScriptsPower to the People: Redis Lua Scripts
Power to the People: Redis Lua Scripts
 
Redis: Lua scripts - a primer and use cases
Redis: Lua scripts - a primer and use casesRedis: Lua scripts - a primer and use cases
Redis: Lua scripts - a primer and use cases
 
Squeak & Pharo @ NYC Smalltalk
Squeak & Pharo @ NYC SmalltalkSqueak & Pharo @ NYC Smalltalk
Squeak & Pharo @ NYC Smalltalk
 
Ruby and Twitter at the Ruby drink-up of Sophia, January 2013
Ruby and Twitter at the Ruby drink-up of Sophia, January 2013Ruby and Twitter at the Ruby drink-up of Sophia, January 2013
Ruby and Twitter at the Ruby drink-up of Sophia, January 2013
 
Dockerizing development workflow
Dockerizing development workflowDockerizing development workflow
Dockerizing development workflow
 
Lua and fable jonathan shaw (lionhead)
Lua and fable   jonathan shaw (lionhead)Lua and fable   jonathan shaw (lionhead)
Lua and fable jonathan shaw (lionhead)
 
Docker 2014
Docker 2014Docker 2014
Docker 2014
 
Data science apps powered by Jupyter Notebooks
Data science apps powered by Jupyter NotebooksData science apps powered by Jupyter Notebooks
Data science apps powered by Jupyter Notebooks
 
深層学習ライブラリの環境問題Chainer Meetup2016 07-02
深層学習ライブラリの環境問題Chainer Meetup2016 07-02深層学習ライブラリの環境問題Chainer Meetup2016 07-02
深層学習ライブラリの環境問題Chainer Meetup2016 07-02
 
Gophers, whales and.. clouds? Oh my!
Gophers, whales and.. clouds? Oh my!Gophers, whales and.. clouds? Oh my!
Gophers, whales and.. clouds? Oh my!
 
Celery in the Django
Celery in the DjangoCelery in the Django
Celery in the Django
 
go 1.8 net/http timeouts
go 1.8 net/http timeoutsgo 1.8 net/http timeouts
go 1.8 net/http timeouts
 
Lua
LuaLua
Lua
 
Using LuaJIT in mid-load web-projects
Using LuaJIT in mid-load web-projectsUsing LuaJIT in mid-load web-projects
Using LuaJIT in mid-load web-projects
 
FILEgrain: Transport-Agnostic, Fine-Grained Content-Addressable Container Ima...
FILEgrain: Transport-Agnostic, Fine-Grained Content-Addressable Container Ima...FILEgrain: Transport-Agnostic, Fine-Grained Content-Addressable Container Ima...
FILEgrain: Transport-Agnostic, Fine-Grained Content-Addressable Container Ima...
 
Introduction to Lua Luajit Openresty Luvit
Introduction to Lua Luajit Openresty LuvitIntroduction to Lua Luajit Openresty Luvit
Introduction to Lua Luajit Openresty Luvit
 
2 - OOP
2 - OOP2 - OOP
2 - OOP
 
Build and Run Containers With Lazy Pulling - Adoption status of containerd St...
Build and Run Containers With Lazy Pulling - Adoption status of containerd St...Build and Run Containers With Lazy Pulling - Adoption status of containerd St...
Build and Run Containers With Lazy Pulling - Adoption status of containerd St...
 
Big Data: Indexing ~50Tb of URIs
Big Data: Indexing ~50Tb of URIsBig Data: Indexing ~50Tb of URIs
Big Data: Indexing ~50Tb of URIs
 
Do you know all of Puppet?
Do you know all of Puppet?Do you know all of Puppet?
Do you know all of Puppet?
 

Lua+tdd

  • 1. + TDD Enrique García Cota (@otikik)
  • 2. Lua Small, Fast, Embeddable http://www.lua.org/ Image from: http://trestizas.wordpress.com/2011/05/05/radioproyectos-purposedes-y-eabe11/
  • 3. Videogames Source: http://en.wikipedia.org/wiki/Category:Lua-scripted_video_games
  • 4. Programs Apache (mod_lua) Adobe Lightroom Renoise VLC Source: http://en.wikipedia.org/wiki/Lua_(programming_language)
  • 5. TDD libs Luaunit http://phil.freehackers.org/programs/luaunit/ Telescope ← my favorite https://github.com/norman/telescope
  • 6. Dojos, Katas … Koans?
  • 7.
  • 8. Koans: “Failing tests that illustrate language features” Learn a language through tests Original idea: rubykoans.com
  • 9. @ecomba: “You can't call it Koans if you take out the Zen stuff”
  • 10. Lua Missions (A.K.A. Lua Koans)
  • 11. Install Lua Windows: LuaForWindows.exe Mac: brew install lua Ubuntu: sudo aptitude install lua5.1 run Missions git clone git://github.com/kikito/lua_missions.git cd lua_missions/missions lua missions.lua More info @ https://github.com/kikito/lua_missions
  • 12. Thanks! Enrique García Cota (@otikik) egarcia@splendeo.es / kikito@gmail.com