Software Design

Code Review: Text-based Monopoly in Java

25 minute read

Originally posted on Code Review Stack Exchange on 07.09.2021. Question asked by user “DexMax” and licensed under CC BY-SA 4.0. Answer provided by me and lic...

StringBuilder Cargo Cult

2 minute read

This post is based on an answer I posted on Stack Overflow. The code example was submitted as part of the question by Bruno Rozendo under CC BY-SA 3.0. Note:...

Taste Your Own Soup

2 minute read

Imagine this scenario: A restaurant cook learned from their grandmother the secret of her tasty soup. “Always put a tablespoon of salt in your soup”. And so ...

Do Unit Tests Make Refactoring Harder?

3 minute read

This is probably one of the most common narratives against TDD (test-driven development) that I hear. It’s often stated by developers who may have shortly tr...