tdd

Recursos de programación de tdd
Yesterday in the Barcelona Software Craftsmanship coding dojo we did the Binary Search Tree kata. Raúl Lorca and I paired using TDD in C# to get to a pretty OO solution. We didn't finish the exercise. We got to create the binary search tree but we didn't have time to code the in-order depth-first traversal. Well, it doesn't matter. The important thing is that we practiced TDD, recursion and OO by test-driving a recursive data structure. Today, with a bit more of time, I did the the whole kata i...
Aunque lo escribo con retraso, este post corresponde al cuarto día (jueves) de esta edición de la piweek.En el proyecto eventsview avanzamos hasta dejar una versión usable con búsqueda y los filtros activados. Estoy bastante contento, por que aunque no es nada vistoso nos va a valer como base para desarrollos que tenemos que hacer en Alea y que poco a poco voy cogiendo flujo en javascript y en la parte web. Hay que tener en cuenta que en mi día a día no suelo tocar para nada web, por l...
Una edición más me ha apuntado a la piweek. En esta ocasión me he apuntado a última hora puesto que en principio en estas fechas iba a estar de vacaciones.En esta ocasión, del equipo de Alea Soluciones, he conseguido liar a https://twitter.com/jaimegilCómo sigo con mi cruzada personal por aprender algo de javascript, hemos decido implementar un pequeño visualizador de eventos https://github.com/aleasoluciones/eventsviewNo tenemos muchas pretensiones en cuanto a las funcionalidades a re...
It took me long time, but these are the most interesting talks I saw/heard the last month: Succeeding with TDD: Pragmatic Techniques for effective mocking Venkat Subramaniam. Some simple techniques that can help us be quite effective with mockingRadical Ideas from the Practice of Cloud Computing SE Radio Episode 221: Jez Humble on Continuous Delivery Simple Made Easy 2011  Rich Hickey. Great talk and a good excuse to study functional programming.Design and architecture for actor...
I've just watched this wonderful practical demonstration of using connascence to guide the refactoring step of TDD by James Jeffries and Kevin Rutherford: Red, Green, ... now what ?!These are the slides. These other slides explain more about each type of connascence. - por Garajeando
Desde siempre he tenido claro que en desarrollo es muy importante que cada concepto este una sola parte del sistema. Por otro lado, también tengo muy presente que la duplicidad de código es un problema y que hay que intentar limitarla y en los casos que sea necesario (casi todos) eliminarla sistemáticamente.Muchas veces se sigue el concepto DRY a ciegas, sin tener en cuenta que cada decisión tiene un coste, por lo que voy a exponer algunos puntos que pueden ayudar a decidir cuando debemos elimin...
Web
13-05-2015
http , tdd
I've just watched this great series of talks by Sandro Mancuso: Outside-In TDD IOutside-In TDD IIOutside-In TDD III - por Garajeando
Web
07-05-2015
http , tdd
I've just watched this wonderful discussion between Sandro Mancuso and J. B. Rainsberger about the relationship between TDD and Software Design which was organized by Carlos Blé: TDD and Software Design - por Garajeando
Last week we started working on the String Calculator kata at the Clojure Developers Barcelona meetup. Finally, this week I found some time to finish it. These are the tests using Midje: The resulting code which is divided in several name spaces. The string-calculator.core name space: The string-calculator.numbers-parser which is where most of the logic lives: The string-calculator.numbers-validation name space: Finally, the string-calculator.numbers-filter name space: I used a mix of TDD a...
Web
30-04-2015
http , tdd
Last Tuesday I gave a short talk about sequence comprehensions in Clojure for some of the Clojure Developers Barcelona study group members. This is the "clean version" of the code I wrote on Lightable to explain it: As usual I had a great time and learned a lot preparing this talk. After the talk, we talked about topics we'd like to learn about in the next months and the started to practice in pairs programming the String Calculator kata. Thanks all for coming! - por Garajeando