Menu

About a Programming Paradigm
📰

About a Programming Paradigm

DEV Community: java·Ajay·1 day ago
#81TeMUBl
#devtojava#devto#dev#programming#paradigm
Reading 0:00
15s threshold

It is the idea, model or fundamental style of solving problem using programming language,It porvides the structured approach or set of principle that make the programs to design and implement,

Different programing language uses different paradigm techniques to solve the problem.

A programming language used one or more paradigm , to make an best approach for the project requirement.

There Different Types of paradigm approach,

1. Imperative Paradigm

It will focus on step by step instrcution to machine , should complete the task , we can specify the operation and work flow of control during the execution

let num = [ 1 , 2 , 3 , 4 , 5 ]; let total = 0 ;

for ( i = 0 ; i < num . length ; i ++ ){ total = total + num [ i ]; }

console .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.