Skip to content

What Are Programming Paradigms?

A paradigm is a way/method to do some task. A programming paradigm is a style/way of programming and does not refer to a specific language.

Gopi Gorantala
Gopi Gorantala
1 min read

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

  1. Procedural
  2. Object-Oriented
  3. Event Driven
  4. Functional
  5. Logic
  6. 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.

Core Java

Gopi Gorantala Twitter

Gopi has been a Full Stack(Java+React) since 2016. He worked in Europe, and India, from startups to tech giants. He has a strong engineering professional with a Bachelor's in Satellite Communications.

Comments


Related Posts

Members Public

Array Implementation

You will learn how to implement a custom array-like data structure.

Array Implementation
Members Public

A Guide to Common Errors and Exceptions in Java and How to Fix Them

You will be introduced to the most common errors and exceptions in Java. With examples and steps to rectify them. Some tips and suggestions to developers are provided in detail.

Members Public

Single Responsibility Principle Examples

We see some of the real-time software products following the SRP rule.