官术网_书友最值得收藏!

What this book covers

Chapter 1, Getting Started with Functional Programming, introduces the essential elements of functional programming as supported by Java 8. This includes the introduction of functional terms complemented by Java 8 examples.

Chapter 2, Putting the Function in Functional Programming, covers the types of functions found in functional programming languages such as high-order functions, first-class functions, and pure functions. The use of lambda expressions in support of functions is explained.

Chapter 3, Function Composition and Fluent Interfaces, addresses how to use functional composition. Also covered are fluent interfaces and the use of default methods.

Chapter 4, Streams and the Evaluation of Expressions, covers the basics of their creation and use. Streams are an important addition to Java.

Chapter 5, Recursion Techniques in Java 8, demonstrates recursion, a very useful functional programming technique. While not new to Java, we explore the topic in depth and examine the use of recursive lambda expressions.

Chapter 6, Optional and Monads, covers the use and the nature of monads in creating fluent interfaces and producing resilient code. The Optional class provides a better way of working with missing data.

Chapter 7, Supporting Design Patterns Using Functional Programming, illustrates design patterns. They play an important role in Java programming. The impact of the functional style of programming and lambda expressions is illustrated.

Chapter 8, Refactoring, Debugging, and Testing, demonstrates how these tools have been affected by the new functional programming techniques and how IDEs support them. These are valuable tools in the development process.

Chapter 9, Bringing It All Together, summarizes many of the functional programming techniques presented earlier that are used in the creation of a demonstration application. Such an application provides a concise illustration of how these techniques support the development of robust and maintainable software.

主站蜘蛛池模板: 临沧市| 长兴县| 阳江市| 遂宁市| 无极县| 吉木萨尔县| 南华县| 嘉定区| 夏津县| 通海县| 东乡族自治县| 鹤岗市| 平度市| 兴化市| 青铜峡市| 新乡县| 莫力| 汕尾市| 深州市| 来凤县| 安西县| 盐山县| 彰武县| 宁陵县| 邹平县| 米林县| 玛纳斯县| 缙云县| 美姑县| 泽库县| 收藏| 河北区| 通辽市| 衡山县| 罗山县| 望奎县| 扎赉特旗| 邢台市| 宁安市| 酒泉市| 布拖县|