Fabio Marreco Coding entropy

  • Home
  • About
  • Blog
  • Links

A Generic Specification Pattern in C#

Dec 18, 2017

The specification design pattern allows encapsulation of complex logic. We will introduce a version using generics where we´ll be able to reuse boolean operators over any specification. [read more]

Introduction to the Visitor Pattern in C#

Dec 28, 2017

The visitor design pattern is often used to navigate on a composite. While that is true, it also overcomes limitations on single-dispatch languages (like C#/Java) [read more]

Generic Visitor Pattern in C#

Jan 1, 2018

The visitor pattern is hard to use when the visitee is a generic interface. We will present a solution using Specification as example. [read more]

Persistence Model != Domain Model

Jan 12, 2018

A short (yet opinionated) post about relationships between ORM and the Domain Model. [read more]

Using the Specification Pattern with EntityFramework

Feb 8, 2018

The last post of the series, we´ll use a specification to query the database using EntityFramework while keeping domain/infrastructure models separated [read more]

Financial modelling in F# Part 1 - Interest Rates

Apr 16, 2018

An introduction to finance fundamentals with interest rate using F# as beginners [read more]

Monad for the masses

Dec 1, 2019

A pragmatic monad introduction to c# developers [read more]

©2021 All rights reserved. Made with Jekyll and ♥