Paradigm: Procedural

Procedural programming is a paradigm based on the concept of using procedures. Procedure (sometimes also called subprogram, routine or method) is a sequence of commands to be executed. Any procedure can be called from any point within the general program, including other procedures or even itself (resulting in a recursion).

Procedural programming is widely used in large-scale projects, when the following benefits are important:

  • re-usability of pieces code designed as procedures (for example, as libraries);
  • ease of following the logic of program;
  • maintainability of code.

Procedural programming is a sub-paradigm of imperative programming, since each step of computation is described explicitly, even if by the means of defining procedures.

Programming languages that support this paradigm: