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 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 | Feb 14, 2013 | Software Development
I always encourage developers to write a technical blog. I’ve already convinced some of them to start blogging… yeah! Why is it that you explain your problem to other person (or even to a rubber duck) and you find the solution yourself as you describe the...
by Carlos Ble | Feb 11, 2013 | JavaScript, Test Driven Development
Event oriented programming promotes low coupling but not necessarily high cohesion. Always consider the Single Responsibility Principle while designing collaboration through events. I see three primary ways of collaboration: One to One A single object communicates...