#FridayDojo pre-GDCR: Open-Closed Principle kata

Hosted By
Javier R.

Detalles
Hoy tocaba #FridayDojo (https://twitter.com/search?q=%23FridayDojo) y aprovechamos que el Sábado es el GDCR (Global Day of Code Retreat) para organizar una kata de calentamiento con Manuel y Álvaro, los peazo facilitadores que vienen este año desde Barcelona:
We'll meet and practice with the Open-Closed Principle kata http://bit.ly/1FT8m4Z by Matteo Vaccari.
In this style of kata you must follow these rules:
- Write a failing test.
- Write a setup that builds an object that makes the tests pass.
- Write next failing test.
- Can you make it pass by just changing the setup and creating new classes?
- Yes: Great! Go back to step 3.
- No: Refactor until you can!
*** Ahora bien, como buenos programadores maños, me gustaría deciros... NO HAY HUEVOS de cambiarlo por la variante funcional:
- Write a failing test.
- Write a HOF that builds a function that makes the test pass.
- Write next failing test.
- Can you make it pass by just changing that HOF so that it creates a new function hat makes all tests pass (you can also create some new helper functions)?
-- Yes: Great! Go back to step 3.
-- No: Refactor until you can!
Ale, allí nos veremos, en el local de Hispalinux a las 18h.

Agile Aragón
Ver más eventos
Sala Hispalinux
C/ San Blas, 104 · Zaragoza
#FridayDojo pre-GDCR: Open-Closed Principle kata