The blog of Blog of Christian Bär


The two kinds of reusability

As a developer, you’re told that your code artifacts (e.g. libraries, components, classes, functions) should be reusable. It’s not enough if your stuff just works and is fast. If it’s not reusable you’re a bad developer. So what is this holy grail called reusability all about? What does some code artifact need to fulfill to be reusable? Turns out there are two fundamental kinds of reusability which are quite different: [...]