• Skip to main content
  • Skip to primary sidebar

Technipages

Smart phone, gadget and computer tutorials

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

Structured Programming

Posted on August 16, 2019 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

  • Can’t Connect to Google Play? Try These Useful Tips
  • How to Fix Zoom Error Code 614
  • Google Duo on Android: How To Enable Low-Light Mode
  • Troubleshooting Zoom Error 3065
  • How to Fix Microsoft Teams Error caa82ee2
  • Zoom: How to Change the Size of the Text in Chat Windows
  • Slack: How To Change Your Display Name
  • WhatsApp: How to Hide Your Profile Picture from a Specific Contact

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.

Follow me on Twitter, or visit my personal blog.

You May Also Like

  • Well-Structured Programming Language
  • Declarative Programming Language

© Copyright 2021 Technipages · All Rights Reserved · Privacy