I/O with Lambdas

  • Robert Fischer


So far, our exploration of lambdas and streams has existed in the well-controlled world of code. Sometimes, however, your code has to talk to the outside world. This chapter is where we enter into lambdas in the real world: instead of showing what is possible with lambdas in the abstract, we are getting into what programming with lambdas looks like in the grittiness of real code. This is a world where you end up having to work around a lot of unfortunate legacy code in Java, and where the nice theory and simple examples of lambdas give way to some of the gritty complexity. The important part for you is to understand how to work with that complexity in order to create a nicer development experience and more productive, stable code.


File System Exception Handler Error Handling Temporary File Public Result 

Copyright information

© Robert Fischer 2015

Authors and Affiliations

  • Robert Fischer
    • 1
  1. 1.NCUnited States

Personalised recommendations