4.2 POPULAR RECENT PARADIGMS

They are procedural programming and object-oriented programming paradigms. Let us have a look at both of them.

4.2.1 Procedural programming

Before the advent of object-oriented technology, the general purpose programming languages were procedure oriented. The common popular languages were PASCAL and C. The base of procedure-oriented programming was “imperative”. At this stage, we assume that this paradigm (procedural) encompasses both structural and modular paradigms.

Some of the main features of procedural programming are:

  • Writing instructions to perform tasks.
  • Modularity achieved through functions.
  • Use of flowcharts.
  • Data is global
  • Design strategy top–down

Here emphasis was based on functions to introduce modularity. ...

Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.