Programming paradigms Flashcards
What is a programming paradigm?
A style of computer programming, different programming languages support tackling problems in different ways.
What is procedural programming?
Works through a series of instructions, which tells the computer what to do with the input in order to solve the problem.
What is declarative programming?
Statements are written to describe the problem
What is declarative programming?
Statements are written to describe the problem to be solved, and language implementation decides the best way of solving it e.g. SQL.
What is functional programming?
Functions, not objects or procedures, are used as the fundamental building blocks of a program. Statements are written in a series of functions, which are accept input data arguments and return an output e.g. Python, C# and Java.