Scattered Bits

Recent Posts

Recent Comments




    Archive Archive for February, 2016

    Getting Things Straight

    The Anemic Domain Model and Functional Programming

    Posted on February 29th, 2016.

    As I fascinated wander about in functional programming-land, one of the things that strike me the most is the clear separation of data and functions, the same thing that in the country of object orientation is called the anemic domain model anti-pattern.  How come that a practice that in the OO community is very much frown upon, is...


    Food for Thought

    An Explicit Meta Solution Domain

    Posted on February 16th, 2016.

    When writing code, we try to implement a model of a certain real life domain. In a basic OO approach, we let nouns from this problem domain give name to our classes, while verbs give names to the classes’ methods. Our code is the solution domain. In addition to the problem domain and the solution domain I like to think that we actually...