Building Biggy: Interface Semantics and The Interface Segregation Principle

added by John Atten
5/20/2014 1:31:04 PM

4 Kicks, 74 Views

At its core, Biggy provides an in-memory, synchronized abstraction over various types of backing store. The current architecture is such that store implementations are represented by one or more interfaces and injected into the memory list as a constructor argument. Abstracting the backing store behind a set of interfaces isolates the in-memory list implementation from changes to the backing store, and also allows the list to call into the backing store without worrying about store implementation. It all works pretty darn well. However, I wonder if we might be approaching things from the wrong perspective in designing our interface structure.


0 comments