Programming paradigm
Programming paradigm is a style or "way" of programming. Some languages make it easy to write in some paradigms but not others. Never force a programming language to fit a paradigm it was not designed for.
Overview[edit | edit source]
A programming paradigm is a fundamental style of computer programming. Paradigms differ in the concepts and abstractions used to represent the elements of a program (such as objects, functions, variables, constraints) and the steps that compose a computation (such as assignations, evaluation, continuations, data flows).
History[edit | edit source]
The first programming paradigm was probably the machine code paradigm, where programmers directly wrote sequences of numbers to represent computations. This was followed by the assembly language paradigm, which allowed programmers to use symbolic representations of machine code.
Types of Programming Paradigms[edit | edit source]
There are several different types of programming paradigms used in the industry today. Some of the most common ones include:
- Procedural programming: This is a type of programming where the logic of the program is built around procedures or routines. The main focus is on the process rather than data.
- Object-oriented programming: This paradigm is centered around objects and data rather than logic and procedures. It's one of the most commonly used paradigms today.
- Functional programming: This paradigm treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data.
- Logic programming: This paradigm is primarily used in artificial intelligence and mathematical programming. It's based on formal logic and allows you to express computations declaratively.
- Concurrent programming: This paradigm is designed for programs that are made up of many active processes. It's often used in operating systems and real-time systems.
See Also[edit | edit source]
References[edit | edit source]
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD