What Are Programming Paradigms?
In this lesson, you will learn various programming paradigms in computer science.
Table of Contents
A paradigm is a way or method to do some task. A programming paradigm is a way or style that does not refer to a specific programming language.
Types of paradigms in computers
- Procedural
- Object-Oriented
- Event Driven
- Functional
- Logic
- Aspect-oriented programming, etc
Sketch
Out of all the above programming paradigms, we will learn about Functional programming and why it got introduced in Java 8.
We will also discuss the topics where Object-Oriented falls short and how functional programming steps in and chimes.
Note: Java supports both object-oriented and functional programming.
Java 8 introduced developers to functional programming with lambda expressions, Streams API, and much more!
Now, can we say Java supports multi-paradigm? Yes!! 🤩 Java supports multi-paradigm such as - generic, object-oriented, functional, imperative, reflective, concurrent, etc.
Gopi Gorantala Newsletter
Join the newsletter to receive the latest updates in your inbox.