Clean Code

Writing good code is hard. Clean code principles make it somewhat easier.

Mockito is Bad for Your Code

by

Mockito, a tool to make mocking easy, is actively encouraging test code. Here’s why.

A beginners guide to unit testing

by

Having anxiety attacks before deployment? Do you keep breaking stuff that already worked? Unit tests are here to help!

Your choice of IDE matters

by

Your IDE is your best friend when it comes to being efficient. Why do so many people not use it?

What the *** is an IoC container?

by

Just what in the name of the allmighy bit is an IoC / Dependency Injection container? If find that this confuses a lot of people. Let’s dig into it.

Make all classes final!

by

I have a pretty radical suggestion for clean code: make all your classes final!

What people misunderstand about OOP

by

Is OOP dead? Is Functional Programming the future? Some articles seem to suggest so. I would tend to disagree. Let’s discuss!

Why Immutability Matters

by

I’ve talked about immutable objects in clean code before, but what exactly are they? Why do we use them?

Why should you use interfaces?

by

I’ve received the same question from a fair number of people: why would you even use interfaces?

The Cookie Cutter Architecture

by

When it comes to business applications, you need an architecture that scales well. This is my take, based on Uncle Bobs EBI.