concept inside in category design

appears as: inside
Object Design Style Guide

This is an excerpt from Manning's book Object Design Style Guide.

With immutable objects, you can often resort to a different kind of assertion—one that allows the object to keep its internal data and implementation details on the inside, as follows.

  • A service should be immutable from the outside, as well as on the inside. Just as with services for retrieving data, services that perform tasks should be reusable many times. If something goes wrong while performing a task, throw an exception (as soon as you know it).