Don’t Make Your Code Lie

This short little post you’re reading was inspired by all the code reviews that I’ve done in the past month. I don’t know if that’s a coincidence or I haven’t paid too much

Continue reading

Document Your Real Architecture

I’m writing this post to share with you a little thought that popped into my head and has been “growing” since then as something very important. I was thinking about starting a new pet

Continue reading

Programming without a Framework

I’ve been recently working on a nice project that was small enough to make me feel free to experiment and, on the other hand, big enough to validate my ideas and see how they scale. One of the experiments

Continue reading

10 Tips to Writing Good Unit Tests

Since we already got started on unit testing in the previous post, I thought we can stick with the topic and lay out some rules for writing good, maintainable unit tests. The choice was pretty arbitrary

Continue reading

Unit Testing: The Myth of Complete Isolation

Time and time again, when people talk about unit testing, they mention the fragility of unit tests as some inherent disadvantage of the technique. I disagree. I believe this is just bad unit testing and

Continue reading

The Strange Relationship between Duplication and Coupling

This short post hopefully contains no new knowledge for you. Its mere intention is to make you contemplate an interesting relationship between coupling and duplication for a while. Duplication is Bad! As

Continue reading

Creating a Groovy DSL for Structurizr

In the previous post, we took a quick look into generating documentation with Structurizr. I really enjoyed playing with the tool, but I wasn’t aesthetically pleased with the code necessary to create

Continue reading

Coding the Documentation with Structurizr

Regardless of whether we like it or not, software documentation is needed, useful, and often even required. I don’t know about you, but I hate going to the company’s Wiki and updating documentation

Continue reading

The Soon Hated Object Locator

As more frequent readers of my blog might know, amongst my most recent interests were concepts like DCI Architecture, Domain-Driven Design, and the Service Locator pattern. I’ve been doing a lot

Continue reading

The Hated Service Locator (Anti-)Pattern

I was recently doing some reading about Spring and Dependency Injection in general when I came across a particularly harsh comment about the Service Locator pattern. The guy was so convinced that he’s

Continue reading
1 2 3 6