The broad and shallow style has many public methods for users to call (the broad part), each of which tends to do relatively little processing (shallow). Back in 2004, I identified two styles within Apache Commons: broad and shallow versus narrow and deep. When designing a library, it is useful to bear in mind some common styles that libraries fit into. But what makes a good library? How can it be designed well? Styles of Library Thanks to the world of open source, many thousands of libraries and frameworks are available to choose from (and most companies have an internal artifact repository with even more). Tooling tends to make this easy now, with build tools, such as Maven and Gradle, connecting to a central artifact repository of JAR files. There are many ways to build an application, but most of the time you will pull in a framework or two and a few libraries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |