DELAPARRA
Index
Color
NL
Category: Programming paradigms

Procedural Programming

Explained by Updated

What is Procedural Programming?

Procedural Programming: Procedural programming is the simplest paradigm: write a series of instructions that execute top to bottom, and group reusable logic into named procedures or functions. Older than OOP, still dominant in C, shell scripts, and many algorithms. Procedural programming is the most direct way of writing code: a list of instructions that run from top to bottom, with reusable steps grouped into procedures or functions. C, shell scripts, early PHP and many algorithms are written this way.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Procedural Programming

How is Procedural Programming used in practice?

It is easy to follow for small programs, because what you read is what happens, in that order. There is little abstraction between you and the work.

What should you keep in mind with Procedural Programming?

As programs grow, procedural code tends to rely on shared global data, and functions that change that data from many places become hard to reason about. Object-oriented and functional styles grew partly as answers to that. Still, procedural thinking is useful: a deploy script, a data migration or a one-off import is often clearest as a plain sequence of well-named steps.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with P

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.