• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Gaming
    • Hardware
    • Internet
    • iOS
    • MacOS
    • Office
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About Technipages

Structured Programming

By Mel Hawthorne

Structured programming refers to a set of quality standards that make programs both more verbose and more reliable. Benefits like readability, ease of maintenance and reliability outweigh the added complexity these standards impose. The main goal of these standards is to eliminate what is commonly called ‘spaghetti code’ –  code that is built on negative practices and using techniques that are frowned upon in the expert coding community.

 

Technipages Explains Structured Programming

This includes things like the GOTO statement – a brutal and direct jump from one part of a program to another, without any regard for what section of a program is active or in use. Loops can be broken this way, but in all but the direst circumstances, it should be avoided. This means that in order to maintain the coding standards, the programmer needs to deliberately choose a more complex method of achieving a goal – ideally without the GOTO command.

Different languages support this type of standard, but some of the most common examples include C, Pascal and the dBASE software command language. Truthfully, there are standards like those that make up structured programming in just about every coding language, though they may simply be considered ‘best practice’ rather than being a completely formal set of standards. The overall program structure of a program should always show what a program is supposed to do. This means that structured programming dictates a certain tree-setup. The first task is first, and everything that follows needs to be ordered in a logical manner.

Common Uses of Structured Programming

  • Structured programming standards forbid the use of ‘brute force’ commands like GOTO.
  • Both formal rules and guidelines are part of the structured programming standards.
  • Proper indentation and spacing is part of structured programming.

Common Misuses of Structured Programming

  • Structured programming refers to a programming language that employs a formal structure.

Primary Sidebar

Recent Posts

  • Windows 11: How to Fix Windows 11 Won’t Connect to a Network
  • What to Do When Firefox Won’t Load a Page
  • Chrome: How to Refresh Various Tabs Simultaneously
  • The Latest Foldable Phones – A Look At The Huawei Mate X2
  • Everything Announced at Google I/O 2022 That You Should Care About
  • How to Build the Best High-Spec PC for Your Budget
  • Google Shows Off Pixel 7 and Pixel Watch Ahead of Fall Launch
  • Windows 11: How to View Saved Passwords

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

You May Also Like

  • Well-Structured Programming Language
  • Declarative Programming Language

© Copyright 2022 Technipages · All Rights Reserved · Privacy