State should not depend on the API server

Tim Penhey tim.penhey at canonical.com
Tue Sep 16 01:12:11 UTC 2014


On 12/09/14 01:35, Nate Finch wrote:
> Separation of logic is absolutely a good thing.  Separation of data is
> not nearly so useful.

What I see as the real benefit of this work is based behind the
"interface segregation principle".

Effectively this boils down to "don't depend on things you don't need".

The state package should never depend on packages from the API.

This work is not just busy work, but clear separation, and generally
what is considered good software development principles.

Tim




More information about the Juju-dev mailing list