refactoring

Recursos de programación de refactoring
¿Por qué puede ser malo tener varios puntos de retorno en una función? En este vídeo analizaremos las razones que hay detrás de este mantra :)
Xavi Gost y Sergio Revilla son los profesores del curso de Refactoring: http://goo.gl/OrsEJI Cuando hemos aprendido el "dar cera pulir cera" del refactoring y nuestras funciones ya no pasan de las 20 líneas, nuestro código es semántico y limpio como una patena, entonces empezamos a ver que nuestra estructura, nuestro diseño, también necesita atención. Por tanto aplicaremos mecánicas de refactoring convergiendo a patrones bien conocidos. Accede al curso aquí: http://goo.gl/OrsEJI
En este vídeo explicaremos cómo te puedes ayudar de las cláusulas de guarda para hacer tu código más legible. Más información y material relacionado: http://codely.tv/screencasts/clausulas-guarda-refactoring/
I continue empting the talks queue... Here is another small batch of interesting talks:Microservices: Software that Fits in Your Head Dan North. IMHO this is the more interesting talk I show this year. No spoilers :)   I agree one hundred per cent with the talk. Just show it.Functional_Data_-_Greg_Young-131636650 Greg Young. A practical example of the Event Sourcing implemented using a functional approach. With this approach the flow seems more easy than the OOP approach.se-r...
¿Es malo usar sentencias switch-case? ¿Cómo determinamos que el diseño de nuestra aplicación "tiene problemas"? ¿Cómo modificamos nuestro sistema para mejorar su diseño? ¿Qué son los Code Smells? ¿Y las técnicas de Refactoring? En este vídeo trataremos de dar respuesta a estas preguntas. Más info: http://codely.tv/screencasts/code-smells-refactoring/
Last weekend I attended the Software Craftsmanship Barcelona 2015. This was the first time I participate as an attendee (I had worked in the organization of the first two editions). It was a great event. I attended very interesting talks and had amazing conversations with many people. Some of them I already knew from the Barcelona, Zaragoza, Bilbao, Canarias and Valencia community or from abroad but many of them I just met there. If I had to highlight my favorite talk, I'd choose Accesibilidad...
I just did the Cellular Automata kata in Clojure. These are the tests using Midje: and this is the resulting code: where I added a function print-evolution to visualize the evolution on the REPL As usual I used a mix of TDD and REPL-driven development committing after each green and each refactoring. I also committed the REPL history. See all the commits here if you want to follow the process. You can find all the code on GitHub. - por Garajeando
I just did the Integer Ranges kata in Clojure. These are the tests using Midje: and this is the resulting code: As usual I used a mix of TDD and REPL-driven development committing after each green and each refactoring. I also committed the REPL history. See all the commits here if you want to follow the process. You can find all the code on GitHub. - por Garajeando
Last night I did the Word Wrap kata in Clojure. It was proposed in the last Barcelona Software Craftsmanship coding dojo but I couldn't attend, so I did it at home. These are the tests using Midje: and this is the resulting code: As usual I used a mix of TDD and REPL-driven development committing after each green and each refactoring. I also committed the REPL history. See all the commits here to follow the process. Once I got to a tail recursive solution, I tried to make it more readable by...
Last night I did the Yatzy refactoring kata in Ruby. I mainly used it to practice with Enumerable functions. This is the original code: and this is the refactored one: I committed after every small refactoring (the commits step by step). You can find the code in this repository in GitHub. - por Garajeando