design

Modeling With Sum Types Example

Expanding on the business rules section in classes we’ll model a more complex case where we have mutually exclusive results with different data per type. Bas...

What Makes a Good Class?

Classes are used for many purposes, so properties of a good class in one context will be different from properties of a good class in another context.

What Makes For Good Functions?

Since functions are used for many different purposes, what makes any function good depends on the context. Imagine trying to apply CQS to a main function. I’...

What Makes for Good Software?

It has been claimed that software is one of the or the most complex human endeavors. I have no idea if that’s true or not, but it does get complex pretty qui...