© Matthias Noback 2018
Matthias NobackPrinciples of Package Designhttps://doi.org/10.1007/978-1-4842-4119-6_6

6. The Release/Reuse Equivalence Principle

Matthias Noback1 
(1)
Zeist, The Netherlands
 
The first of the actual package design principles discussed in this book is the Release/Reuse Equivalence principle. This principle says1:

The granule of reuse is the granule of release.

This principle has two sides. First of all, you should only release as much code as you (or others) can reasonably reuse. It makes no sense to invest all the time and energy needed to properly release code if nobody is going to use it in another project anyway. This may require you to do some kind of research to establish the viability of your package once you would privately ...

Get Principles of Package Design: Creating Reusable Software Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.