Clean Code (9)

Ralf Westphal

Two Problem Solving Approaches

Solving a problem can be hard at times. What I’ve found helpful then is to distinguish between two different approaches to tackle the problem. Without distinguishing them I’m prone to use an unsuitable approach and make things harder than they actually are. Here’s a sample…

Continue reading...
Ralf Westphal

TDD - How It Can Be Done Right

TDD has gone wrong. It was well intentioned and is a great technique, but many developers who are trying it are not experiencing the promised benefits. How come? This question was asked and answered by Ian Cooper in a DevTernity talk in 2017. Watch the…

Continue reading...
Ralf Westphal

When to Turn to Microservices for Help

Microservice architectures seem to be the latest craze. When in doubt, bet your software architecture on microservices. They sure will deliver everything but the kitchen sink. Or maybe think twice? Because microservices like all technologies and paradigms come with a price. And this price is…

Continue reading...
Ralf Westphal

Structure Code for Rewriting

From a certain point on it becomes very tedious, frustrating, and expensive to change code in order to implement some new requirement. For a while clean coding and refactoring help - but in the end it’s undeniable: the existing code is more of a burden,…

Continue reading...
Ralf Westphal

Messaging - The Missing Ingredient

Robert C. Martin wrote an interesting article on the orthogonality of Object-Orientation (OO) and Functional Programming (FP). There is no rivalry between the two, or at least should not be. Both approaches have their merits. FP and OO work nicely together. Both attributes are desirable…

Continue reading...