Structured Programming Language Advantage and Disadvantage


Structured Programming Language Advantage and Disadvantage

Structured Programming Language Advantage and Disadvantage
Programmers are equipped with coding techniques to execute certain line of codes in efficient manner. They knew almost all programming languages, their features and application areas. Each programming languages have both advantages and disadvantages. Read the article Structured Programming Language Advantage and Disadvantage interestingly. 

Computer techies wrote their own codes by appending more languages. With the advancement of time, programmers develop new approach to tackle large programs. They broke large program into smaller ones. Each smaller program is called as modules, subprogram, sub routines or procedures.

Structured programming was first suggested by Corrado Bohm and Guiseppe Jacopini. The two mathematicians find out that any program can be written with just three structures: decisions, sequences and loops. Edsger Dijkstra's subsequent article, Go-To Statement Considered Harmful was instrumental in the trend towards structured programming. The most common methodology employed was developed by Dijkstra. In this model the developer separates programs into subsections that each has only one point of access and one point of exit.

Structured programming is a subset of procedural programming that enforces a logical structure on the program making more efficient and easier to understand and modify. Programming languages such as Ada, Pascal are designed with features that encourage or enforce a logical program structure.
In structured programming, programs are broken into different functions called as modules, subroutines and subprograms. Each function is design to perform specific task with own data and logic. Information is passed from one function to another function through parameters. A function can have local data that cannot be accessed from outside. The result of this process is that all the other functions are synthesized in other function. This function is known as main function. Many of the high level languages supported structure programming features. Read Structured Programming Language Advantage and Disadvantage interestingly. 

Structured programming frequently follows a top-down design model, in which programmer map out the overall program structure into separate subsections. A defined function or set of similar functions is coded in a separate module or sub-module, which means that code, can be loaded into memory more efficiently and that modules can be reused in other programs. After a module has been tested individually, it is then integrated with other modules into the overall program structure.

Structured programming minimized the chances of function affecting another function. It supports to write clearer programs. It made global variables to disappear and replaced by the local variables. Due to this change one can save the memory allocation space occupied by the global variable. Its organization helped to understand the programming logic easily.

So, that one can easily understand the logic behind the programs. It also helps the new comers to understand the programs created by the senior workers of the industry. It also made debugging easier. One best property added to structured programming is functional abstraction. It means ability to look at something without knowing its inner details. Structured Programming Language Advantage and Disadvantage interestingly. 

Structured Programming Language Advantage

1.       It is easier to learn.
2.       It require less time to program.
3.       It is easier to maintain
4.       It is user friendly and easy to understand
5.       Just similar to English vocabulary (Words and Symbol)
6.       It is program oriented rather than machine oriented.
7.       It is independent of machine on which it is used.
8.       Structured Programs are high level languages which can be run on any computer.
9.       High level programs can be easily translated into many machine languages.

Structured Programming Languages Disadvantages

1.       Since high level language are translated into machine language using translator. So, no time independence is seen.
2.       Since, Data types proceeds in many functions, any changes in data types must be upgraded in every location, consuming too much of time.
3.       Each programmer is assigned to build a specific set of functions and data types. Since different programmers handle separate functions that have mutually shared data type. Other programmers in the team must reflect the changes in data types done by the programmer in data type handled. Otherwise, it requires rewriting several functions.
4.       The object code generated by a translator must be inefficient compared to an equivalent assembly language program.

No comments:

Post a Comment

Introduction to Microsoft Azure