refactoring

Recursos de programación de refactoring
I've recorded myself doing the Parrot Refactoring kata in order to be able to later watch me and detect problems to correct. This is the recording of what I did: Parrot Refactoring Kata If you decide to watch it, please do it at 2x speed (I still write slowly). These are the commits after every refactoring step. You can see the code in this GitHub repository. - por Garajeando
I did the Ohce kata in Clojure using outside-in TDD with Midje. I started by writing a nearly end-to-end test for the scenario of running ohce during the morning: In this test I used Midje's unfinished and provided macros to stub the hour-fn and read-input functions and with-out-str to capture the any printed lines. Using Midje's future-facts macro I avoided seeing this acceptance test failing every time the tests were run, instead I saw a reminder message like this one: Next I started testin...
17, 18th JuneOfficial site: http://pamplonaswcraft.com/ Twitter: https://twitter.com/pamplonaswcraft Twitter official hastag: https://twitter.com/hashtag/scpna?src=hashThe event was organized basically by three guys (#amazing) from https://twitter.com/540info http://540deg.com/.It was a mix of Open Space and Talks.SessionsWhat a mess! Alfredo CasadoExamples about rewrites of systems that as usually gone bad… is very strange that this kind of things are good idea…The most important thing is to he...
I've recorded myself doing the Tire Pressure Monitoring System refactoring kata in order to be able to later watch me and detect problems to correct. This is the recording of what I did: Tire Pressure Monitor System Refactoring Kata If you decide to watch it, please do it at 2x speed (I still write slowly). These are the commits after every refactoring step. You can see the code in this GitHub repository. - por Garajeando
Some weeks ago we did Luca Minudel's Tire Pressure Monitoring System refactoring kata as part of a mentoring program that Álvaro García and I were doing at Magento Barcelona. We had done this kata several times before in Java and in Ruby, presented it at some events (Refactoring legacy code driven by tests (Java version) at SCBCN, Refactoring legacy code driven by tests (Java version) at Gran Canaria Ágil, Refactoring legacy code driven by tests (Ruby version) at SCBCN, Refactoring legacy code...
Yesterday I facilitated the Ohce kata in a Barcelona Software Craftsmanship event. Since I was facilitating, I didn't have the opportunity to write any code. So, when I got home, I did the kata in Java using outside-in TDD and jMock. I committed after each passing test and each tiny refactoring, so that you can follow the process if you feel like. You can check the commits step by step here. You can find the resulting code in this GitHub repository. Thanks to all the attendees and to Magento Ba...
I've recorded myself using outside-in TDD to code the Printing Account Statement subset of the Bank Account kata in Java using jMock, in order to be able to later watch me and detect problems to correct. This is the recording of what I did: Bank Account kata recordingIf you decide to watch it, please do it at 2x speed (I still write slowly). These are the commits after each green and every refactoring step. You can see the code in this GitHub repository. I recently did another version of this ka...
I did again the Printing Account Statement subset of the Bank Account kata in Java using jMock. This time, I managed to do it using outside-in TDD without big problems, (see the problems I had the first time). The only thing I didn't like was that some steps felt too big. This time I committed after each green and each refactoring steps. Check the commits here. I think I'm starting to see how this goes. You can find the resulting code in this GitHub repository. - por Garajeando
I've recorded myself using TDD to code the Brownish Greenfield Gilded Rose kata in order to be able to later watch me and detect problems to correct. This is the recording of what I did: Brownish Greenfield Gilded Rose kata recordingIf you decide to watch it, please do it at 2x speed (I still write slowly). These are the commits after each green and every refactoring step. You can see the code in this GitHub repository. I also did this kata in JavaScript last week. - por Garajeando
I've just watched this wonderful talk by Greg Young 8 Lines of Code - por Garajeando