by Carlos Ble | Apr 7, 2013 | Agile, Clean code, Software Development
Value objects can contain methods. Otherwise they are just anemic models. Those methods prevent the feature envy code smell and ease refactoring. They manipulate object internals promoting cohesion and low coupling. But don’t forget about the Open/Closed...
by Carlos Ble | Apr 7, 2013 | Agile, Clean code, Software Development, Test Driven Development
Writing quality code is about satisfying the expectations of the reader. And the reader might be yourself a couple of months later. Let me tell you a mistake a made recently. I was test-driving a few classes and one collaborator was a stack. But I only needed the...
by Carlos Ble | Apr 7, 2013 | Agile, JavaScript, Test Driven Development
JavaScript object literals are very handy, they are just key-value pairs. Very convenient to implement dictionaries and also a very simple implementation of the Singleton pattern: var message = {sender: ‘bob’, body: ‘hello’}; Duck typing is a...
by Carlos Ble | Apr 5, 2013 | Agile, Test Driven Development, Testing
It’s been my first time attending to an event at Skills Matter and it’s been awesome 😀 Cukeup! is the annual conference about BDD and Cucumber. This was the third edition. Let me share with you the ideas I listened yesterday. The ideas and sentences...
by Carlos Ble | Mar 22, 2013 | JavaScript, Test Driven Development
Promises are a nice solution to write readable asynchronous code in JavaScript. If you understand Spanish, I highly recommend this great talk on Promises by Enrique Amodeo. But, is the code with promises easy to unit test? It’s not very difficult, you have to...
by Carlos Ble | Mar 17, 2013 | Agile
Acabo de regresar de impartir mi clase sobre Clean Code y TDD en el Postgrado de Métodos Ágiles de La Salle (#PMA), en Barcelona. Se trata de la segunda edición de este postgrado único en el mundo. La experiencia ha sido muy positiva e intensa al igual que lo fue el...
by Carlos Ble | Mar 13, 2013 | Agile, Test Driven Development
Gracias a Jose Juan Hernández, profesor de ingeniería del software de la Escuela de Informática de la Universidad de Las Palmas de Gran Canaria, ayer 12 de marzo pudimos grabar la primera video conferencia con su clase. Hablamos de métodos ágiles, de testing y de TDD....
by Carlos Ble | Mar 11, 2013 | Agile, Retrospectivas
Oh man, what a conference, I am just destroyed as you can see. AgileDevPractices 2013 has been the first edition of an excellent conference. It was a big surprise for me when Jose Díaz from Diaz & Hilterscheid asked me to select the talks from the many proposals...
by Carlos Ble | Mar 3, 2013 | Agile, Testing
I had the chance to meet Matt Heusser (@mheusser) during the Agile Testing Days 2012 conference… and it was great! Matt’s keynote was brilliant, excellent, I really enjoyed it. But I think what I liked the most, was that he seems to be a humble and honest...
by Carlos Ble | Feb 19, 2013 | Publishing
I’ve only written a book, enough to know how much work it is. Before writing it, I used to think that writing was going to be the most time-consuming task. However, it turned out that I spent more time fixing mistakes, reading again and again what I wrote and,...