[image error]
Cactoos is a library of object-oriented Java primitives we started to work on just a few weeks ago. The intent was to propose a clean and more declarative alternative to JDK, Guava, Apache Commons, and others. Instead of calling static procedures we want to use objects, the way they are supposed to be used. Let's see how input/output works in a pure object-oriented fashion.
Let's say you want to read a file. This is how you would do it with the static method readAllBytes() from the...
Published on June 21, 2017 17:00