Structured programming is a programming paradigm that prescribes a specific way of organizing computer code. It is an alternative to the procedural programming paradigm, which organizes code by the sequence of operations that the computer should carry out to achieve a desired outcome. Structured programming emphasizes the use of modules, which are self-contained units of code that can be called from other modules. Modular code is easier to read, understand, and maintain than code that is organized procedurally.
Structured programming was first developed in the early 1960s by John McCarthy, who is considered the father of computer science. McCarthy’s original …