Development docs
  • Introduction
  • General information
    • Development Ecosystem
    • Documentation
    • Testing
    • Continuous Integration
    • Code Style
    • Paradigms
    • Design Patterns
    • Architecture
    • Refactoring
    • Date Formats
  • Various
    • Technologies and services
      • Travis
      • GitHub
    • Databases
      • Database Kinds
      • Style Guide
      • Joins
    • Web
      • Template View
      • Interactive View
      • Open Graph
      • Twitter Card
    • Parsers
    • Regular Expression
    • File Formats
      • Properties
    • Logging
  • git
    • Configuration files
      • gitignore
      • gitattributes
    • Gitflow
    • Tools
  • Web
    • REST
    • SOAP
  • Architecture
    • SOA
  • Object Oriented Programming
    • Returns
  • Jenkins
    • Pipeline
      • Steps
      • Environment
      • Notifications
      • Scripts
  • Java
    • Environment
      • Development Ecosystem
      • IDE
    • General
    • Interfaces and Generics for a Service
      • Dependencies
      • Type Errors
      • Nested Type Errors
    • Creating New Instances Dynamically
      • Using Classes
      • Using Providers
Powered by GitBook
On this page
  • Imperative
  • Declarative
  • Functional

Was this helpful?

  1. General information

Paradigms

Paradigms

There are several ways of programming. Different languages will have a different take on each, for example Java is an imperative language, while Python is a functional one, but all the languages will follow the paradigms in similar ways.

For this it is recommended learning paradigms more than learning languages. While Python and Javascript are very different, they both share similarities thanks to being functional languages.

It is not rare for a language to mix paradigms.

Imperative

The most commonly known. It gives orders to the application, telling it how to do things.

Java and C are imperative.

Declarative

Gives instructions. Indicating what should be done, but not how.

HTML and SQL are declarative.

Functional

Closer to mathematics than other paradigms, this is based on mathematical functions and stateless algorithms.

Javascript and Python are functional.

PreviousCode StyleNextDesign Patterns

Last updated 6 years ago

Was this helpful?