Object-Oriented vs. Functional Programming
Book information
Description
The schism between the functional and object-oriented programmers is really a false binary. Yes, the first group argues that FP is superior for a multicore world, while the second insists that OOP is better at matching technical solutions to business problems. However, as this O’Reilly report explains, this is not an either-or proposition. Technologist Richard Warburton, author of Java 8 Lambas, discusses similarities between these programming paradigms and points out that both FP and OOP are actually moving closer toward one another. One prominent example is the use of lambda expressions in Java and other OOP languages such as C#, C++, and Swift. Additional Resources Copyright Table of Contents Introduction What Object-Oriented and Functional Programmers Can Learn From Each Other What’s in This Report Chapter 1. Lambdas: Parameterizing Code by Behavior Why Do I Need to Learn About Lambda Expressions? The Basics of Lambda Expressions Method References Summary Chapter 2. SOLID Principles Lambda-Enabled SOLID Principles The Single-Responsibility Principle The Open/Closed Principle Abstraction Higher-Order Functions Immutability The Liskov Substitution Principle The Interface-Segregation Principle The Dependency-Inversion Principle Summary Chapter 3. Design Patterns Functional Design Patterns The Command Pattern Strategy Pattern Summary Chapter 4. Conclusions Object-Oriented vs. Functional Languages Programming Language Evolution
Similar books
Real-World Software Development: A Project-Driven Guide to Fundamentals in Java
2019 · PDF
Java 8 Lambdas: Functional Programming for the Masses
2014 · PDF
Java 8 Lambdas: Pragmatic Functional Programming
2014 · PDF
Java 8 Lambdas: Pragmatic Functional Programming
2014 · EPUB
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF