Tag

guidelines

Good and bad flexibility in code

By Christian Clausen

Flexibility is essential for long-lived codebases, however, it comes at a price. It requires effort to maintain flexibility and improperly-implemented flexibility can actually make a codebase harder to maintain. In this article, I show how good flexibility can be extracted from the structure of our code with minimal effort. But before we get into that, let’s discuss what flexibility in a codebase means.

Call or Pass?

From Five Lines of Code by Christian Clausen

This article delves into when a function should call a method on an object or pass it on as an argument.

Refactor code like a pro

From Five Lines of Code by Christian Clausen

© 2023 Manning — Design Credits