structured_programming

Structured programming

Return to Tony Hoare

Snippet from Wikipedia: Structured programming

Structured programming is a programming paradigm characterized by source code that uses block-based source code structure to encode control flow such as sequence, selection (i.e. if-then-else and switch) and iteration (i.e. for and while).

Originally, the central goal of the structured programming movement was to eliminate the need for and use of the goto statement. As goto provides powerful and flexible flow control, it can be used to write any arbitrarily complex algorithm, but the resulting code often has significant quality issues, commonly described as spaghetti code. Structured programming replaces goto with constructs that tend to result in better code. The paradigm became popular and for the most part achieved the goal of supplanting goto. In fact, its ubiquity is so thorough that for much of software development, it is simply the way code is written, no longer a topic of discussion as it once was.

Structured programming is sometimes associated with modular programming even though they are different. In a general sense, structured implies a sense of modularity and of being written to be efficient and easy to understand and modify, but this is not what structured programming means in a narrow sense.

After structured programming became popular, the style of programming that preceded it was retroactively called non-structured programming. Although technically a programming paradigm, it differs from other paradigms in that it was not intentionally designed. It was simply the state-of-the-art before structured programming was envisioned.

Computer History: Big Tech Silicon Valley Technocracy, Surveillance Valley - The Rise of the Military-Digital Complex - History of the Internet, Facebook (zuck.pdf), Tesla / Space X / Twitter (musk.pdf), History, IT History, Cloud History (Azure History, AWS History, GCP History), Amazon.com / Blue Origin (Bezos - bezos.pdf), Internet History, Email History, Bell Labs, Xerox PARC, OS History (UNIX History - Linux History - Minicomputer - Mainframe History - IBM History - Personal Computer History (Apple I - Apple II - Apple III, IBM PC, Compaq, Macintosh 128K, Apple Lisa), Vintage Apple Resources, Computer Stores, macOS History - Apple History - Apple, Inc. (Steve Jobs jobs.pdf), Windows History - Windows Server History - Microsoft History - Microsoft (Bill Gates gates.pdf, Programming History (C History - C plus plus History | C++ History - C sharp History | History - COBOL History - Golang History - Java History - JavaScript History - Python History - PowerShell History), Computing History, Computing Hardware History, Software Engineering History, Software History, Networking History, Vintage Computing - Vintage Computers - Retrocomputing, Legacy - Defunct Microprocessor Companies (MOS Technology - 6502, Motorola - Motorola 68000, Zilog - Zilog Z80), Legacy - Defunct Computer Companies, Legacy - Defunct Software Companies, History of Computer Hardware, History of Computing, History of Programming Languages, Legacy - Defunct Electronics Companies, PowerPC architecture family, List of PowerPC processors, CPU - Microprocessors, Discontinued Intel processors, 4-bit computing - 4-bit, 8-bit computing - 8-bit, 16-bit computing - 16-bit, 32-bit computing - 32-bit, History of Microsoft Exchange Server (Microsoft Mail - formerly Network Courier), Computer History Museum, Military-Digital Complex - Military-Industrial Complex (Read Surveillance Valley - The Rise of the Military-Digital Complex), Computer History Bibliography, Awesome Retrocomputing, WinWorldPC.com. (navbar_ithistory - see also navbar_bigtech, navbar_technocracy, navbar_programminghistory)


Cloud Monk is Retired ( for now). Buddha with you. © 2025 and Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


structured_programming.txt · Last modified: 2025/02/01 06:26 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki