Programming Paradigm basics Flashcards
What is a paradigm
- It can be defined as a typical example of something.
- A pattern or model.
- A distinct set of concepts or thought patterns
What is a programming paradigm?
A style of programming.
A set of principles, ideas, design concepts and norms that defines the manner in which program code is written.
A programming paradigm is enforced by the programming language compiler during the compiling stage.
What are the 2 most common programming paradigms
Imperative and Declarative
Imperative programming paradigm
It is a paradigm describing how the program should do something by explicitly specifying each instruction, which change the programs stage.
Declarative programming paradigm
It is a paradigm describing what the program does, without explicitly specifying its control flow
Imperative Subsets
Structural programming
Procedural programming
Object-oriented programming
Declarative subsets
Functional programming
Logic Programming
Other programming paradigms
Scripting
Event - driven
Database Querying