Introducing Functional Programming
There are many different ways to approach software design and construction. The two most well-known design philosophies, or programming paradigms, are Object-oriented programming (OOP) and Functional Programming (FP). A programming paradigm is a way of thinking about software design and construction. Programming paradigms are based on several defining principles and are used to organize and characterize the design and construction of software applications. Functional Programming is a programming paradigm focused on building software through expressions and declarations. In this section, we will discuss the very basics of Object-Oriented Programming and Functional Programming, and compare the two programming paradigms.
Object-Oriented Programming
Object-Oriented Programming (OOP) is a programming paradigm based on objects and statements. Objects are programming abstractions used to organize pieces of an application. In OOP, objects usually contain and store...