Why Code in the Functional Style?
We saw the general benefits of the functional style of programming, but is it worth picking up this new style? Should we expect a marginal improvement, or is it life altering? Those are genuine questions that we need answered before we commit our time and effort.
Writing Java code is not that hard; the syntax is simple. We’ve gotten quite familiar and comfortable with the libraries and their APIs. What really gets us is the effort required to code and maintain the typical enterprise applications we use Java to develop.
We must ensure that fellow programmers have closed the database connections at the right time, that they’re not holding on to transactions any longer than needed, that they’re handling the exceptions ...
Get Functional Programming in Java 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.