Many, many of the legendary programmers know many programming languages. What they know from one language helps them write better code in another one. But itβs not really the language that matters: adding knowledge of C# to your knowledge of Java doesnβt make you much better. The languages are too s
Object-Oriented vs. Functional Programming
β Scribed by Richard Warburton
- Publisher
- OβReilly Media
- Year
- 2015
- Tongue
- English
- Leaves
- 45
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
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.
β¦ Table of Contents
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 VOLUMES
The functional and concurrent programming language features supported by modern languages can be challenging, even for experienced developers. These features may appear intimidating to OOP programmers because of a misunderstanding of how they work. Programmers first need to become familiar with the
If you re an ABAP application developer with basic ABAP programming skills, this book will teach you how to think about writing ABAP software from an object-oriented (OO) point of view, and prepare you to work with many of the exciting ABAP-based technologies in ABAP Objects (release 7.0). Using th
<DIV><p>Save time and trouble when using Scala to build object-oriented, functional, and concurrent applications. With more than 250 ready-to-use recipes and 700 code examples, this comprehensive cookbook covers the most common problems youβll encounter when using the Scala language, libraries, and
<DIV><p>Save time and trouble when using Scala to build object-oriented, functional, and concurrent applications. With more than 250 ready-to-use recipes and 700 code examples, this comprehensive cookbook covers the most common problems youβll encounter when using the Scala language, libraries, and