Logo
Pattern

Discover published sets by community

Explore tens of thousands of sets crafted by our community.

Programming Paradigms

12

Flashcards

0/12

Still learning
StarStarStarStar

Object-Oriented Programming (OOP)

StarStarStarStar

Encapsulation, inheritance, polymorphism; Examples: Java, C#, Python, Ruby, JavaScript

StarStarStarStar

Prototype-Based Programming

StarStarStarStar

Objects without classes, objects as prototypes for other objects; Examples: JavaScript, Lua

StarStarStarStar

Procedural Programming

StarStarStarStar

Sequential execution, local variables, functions, procedures; Examples: C, PHP, JavaScript

StarStarStarStar

Declarative Programming

StarStarStarStar

Describes what computation should be performed, not necessarily how; Examples: SQL, HTML, CSS, functional and logic programming languages

StarStarStarStar

Logic Programming

StarStarStarStar

Rule-based, declarative programming, formal logic; Examples: Prolog, Datalog, some aspects of SQL

StarStarStarStar

Reactive Programming

StarStarStarStar

Asynchronous data streams, non-blocking, functional style, for handling time-varying values; Examples: RxJS (JavaScript library), ReactiveX extensions

StarStarStarStar

Concurrent Programming

StarStarStarStar

Processes executing simultaneously, synchronization, communication between processes; Examples: languages with concurrency models like Go, Erlang, and JavaScript with Web Workers

StarStarStarStar

Event-Driven Programming

StarStarStarStar

Events, event handlers, asynchronicity, callbacks; Examples: JavaScript (Node.js, browser scripting), Java (with event listeners)

StarStarStarStar

Component-Based Programming

StarStarStarStar

Modularity, reusability, separation of concerns; Examples: React (JavaScript library), Angular (TypeScript-based framework), Vue.js

StarStarStarStar

Aspect-Oriented Programming (AOP)

StarStarStarStar

Separation of concerns to improve modularity, cross-cutting concerns; Mostly used in conjunction with OOP; Examples: AspectJ (for Java), Spring Framework

StarStarStarStar

Imperative Programming

StarStarStarStar

Directly changes program state through commands; Examples: C, Java, Python, JavaScript

StarStarStarStar

Functional Programming

StarStarStarStar

First-class functions, immutability, pure functions, higher-order functions; Examples: Haskell, Clojure, JavaScript (Functional aspects), Scala

Know
0
Still learning
Click to flip
Know
0
Logo

© Hypatia.Tech. 2024 All rights reserved.