Just some random thoughts

Written and maintained by simoexpo Hosted on GitHub Pages — Inspired by Midnight theme


This is not intended to be a proper blog or a place where you can find high technical posts or guides about software development best practices. Please think of it more like a diary of my journey into programming, or better like a space for random thoughts that come to my mind during this journey. I hope you can find something useful or at least enjoy the reading at least as much as I enjoyed writing. :D

Phantom Subtyping


When modeling a system one of the basic step is to define the representation of the various entities inside it. Sometimes could be easy to find a good representation for an entity that fit most of the application use cases, but then we discover a new specific behaviors for which the choosen models don’t fit very well and maybe it’s neessary to add some new properties to the former model...

Continue reading...