What is structure?
Use the search bar to find what you're looking for!
What Does structure Mean
The structure is the distribution of parts of a body , but can also be used in the abstract. The concept, which comes from the Latin structure , makes mention of the arrangement and order of the parts within a whole .
Based on this definition, the notion of structure has innumerable applications. It can be the distribution and order of the main parts of a building or a house , as well as the armor or base that supports the construction . For example: "At first glance it looks like a very modern building, but its structure would have to be analyzed" , "I love the structure of this house, with the bathroom located next to the main room" , "A failure in the structure caused the collapse of a tower in Kuala Lumpur ” .
The structure is also the distribution and order of the components or parts of a work of wit : "The new book by Stephen King has a structure composed of eight chapters and a preface" , "The structure of the most popular songs is formed by verse-chorus-verse " , " It is a film with an unusual structure, which begins with the death of the protagonist and then narrates how he arrived at that fatal moment . "
For sociology , the social structure is the population that has a certain organization and a certain technology, which lives and develops in an environment.
In the field of computing , the data structure is the form of organization of the elementary data with the intention of facilitating the programming work. The elementary data, on the other hand, is the minimum information that is had of a system .
Structured programming is known as a paradigm that seeks to facilitate the understanding of the code, reduce development time and improve the quality of computer programs, simply using subroutines and blocks of code (also called sequences , they are sections with a variable number statements and statements - in other words, the most abundant content of a program), conditional statements (selections of type switch and if ), and for and while loops .
On the other hand, structured programming rejects the use of the GOTO instruction (from the English go to , which means to go to ), which allows jumping from one point to another in the code and makes it difficult to monitor and maintain, in addition to having been the origin of a large number of errors in its heyday .
This way of conceiving the development of programs emerged at the end of the 70s, and its promoters claimed that any application could be built based on its principles; Although there are languages with more structures than those contemplated by this paradigm, all of them can be reproduced from if , switch , for and while .
Among the advantages it offers with respect to the programming mode used until its appearance, in addition to those mentioned above, are the following:
* Allows you to make modifications to the finished code more easily, which has a positive impact on maintenance costs;
* the various instructions show a greater relationship with each other, which makes the structure of the code clearer, more consistent;
* the code is easier to understand, since the reading is done in sequence, without the confusing line breaks of using GOTO ;
* testing and debugging the programs requires less effort, given the greater clarity of the structure;
* Relying on this paradigm makes the process easier from the first phase: the design.
Although it is possible to respect the principles of structured programming using any language , the most used during the first years were Pascal, ALGOL, Ada and PL / I. In recent decades, other paradigms have emerged, such as object-oriented and modular programming, each trying to solve different problems.