by Carlos Ble | May 18, 2013 | Agile, Clean code, Retrospectivas, Software Development, Test Driven Development
I’ve got goosebumps on my arms most of the day. And it doesn’t happen very often. This is the most emotional coding dojo I’ve ever facilitated. It’s been in Gran Canaria, at the Universidad de Las Palmas de Gran Canaria (EII ULPGC). The...
by Carlos Ble | Apr 7, 2013 | Agile, Clean code
A new change or feature is about to be implemented. There are several places where it can fit in, and all of them seem to respect the Single Responsibility Principle. My tendency used to be adding the new feature where it was easier to place. However now I consider...
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...