O'Reilly logo

Functional Programming in Java: How functional techniques improve your Java programs by Pierre-Yves Saumont

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Solving common problems functionally

This chapter covers

  • Using assertions
  • Reading property files
  • Adapting imperative libraries

You now have at your disposal many functional tools that can make your life as a programmer easier. But knowing the tools isn’t enough. To become efficient in functional programming, you must make it second nature. You need to think functionally. Initially you’ll keep your imperative reflexes, and you’ll probably have to think about how you might translate an imperative solution into functional coding. You’ll have become a proficient functional programmer when your first approach to a programming problem is to think about a functional solution first (and perhaps have some difficulties translating it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required