GOTO is a vendor independent international software development conference with more that 90 top speaker and 1300 attendees. The conference cover topics such as .Net, Java, Open Source, Agile, Architecture and Design, Web, Cloud, New Languages and Processes

Alvaro Videla, Co-Author of RabbitMQ in Action

Alvaro Videla

Biography: Alvaro Videla

Alvaro Videla works at VMware as Developer Advocate for Cloud Foundry. Before moving to Europe he used to work in Shanghai where he helped building one of Germany's biggest dating websites. He co-authored the book RabbitMQ in Action for Manning Publishing. Some of his open source projects can be found here on GitHub.
Apart from code related stuff he likes traveling with his wife, listening/playing music and reading books.

Twitter: @old_sound

Presentation: Writing Testable Code

Track: Good Code / Time: Wednesday 11:30 - 12:20 / Location: Century B

We've been told many times that we should write unit tests for our code. We have read the theory and we have applied automatic testing to our projects, sometimes successfully but often times not so.

Why it seems to be so hard to test our code? However we look at it, automatic testing doesn't work like a "plug & play" peripheral. It just doesn't seem to fit with our project. A dependency is missing here; we have a hard to mock object there; and so on.

What is that thing we might be doing wrong but we fail to notice?

In this talk we will argue that the problem lays in our code, in its structure, in the way we pass data around and even how we write for loops!

This won't be your everyday "code quality" tech talk, since we are going to attack the problem of code quality from different points of view and paradigms like Functional Programming and the Unix philosophy of simplicity and reuse.