answersLogoWhite

0


Best Answer

The main reason modular (or structured) programming is important is that it avoids the increased possibility of data corruption. Of course modular elements still have that risk but that is usually down to the user (passing by Ref instead of by Val etc.). However by using non-modular programming you can easily corrupt data without even knowing it.

Non-Modular code is normally referred to as spaghetti code. Spaghetti code is typically code that uses lots of "GOTO" which although supported by VB should be avoided.

One bad point of GOTO statements other than the fact they jump around unpredictably is their reliance on line numbers. If u add a line in the wrong place it can literally destroy your code.

This is because the GOTO command is basically a one way link so somewhere else in the code. At the end of that code will be a GOTO to get back, this is considered very messy as it leaves a virtual "trail" that can not only make it hard for other programmers to understand but also jeopardise the reliability of data via unknown lines of code changing/interacting with the stored data.

It also means the programmer needs to make sure the GOTO's are in the right place which adds a greater chance of user related mistakes.

"Structured Programming" is a idea that Modularity is closely associated with. It is the idea that structuring the program makes it easier for us to understand and therefore easier for teams of developers to work simultaneously on the same program. One advantage of structured programming is reduced complexity. Modularity allows the programmer to tackle problems in a logical fashion. Also, using logical structures ensures that the flow is clear. It is also a time saver, without modularity, code that is used multiple times needs to be written every time it is used whereas all you have to do is call a function with that code in to get the same result in a structured program.

User Avatar

Wiki User

βˆ™ 10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Advantages of Jackson structured programming
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What has the author David Roger Parkes written?

David Roger Parkes has written: 'A design tool for Jackson structured programming'


Is structured programming an OOP principle?

No. Structured programming came before object-oriented programming. Most OOP languages make use of structured programming, but only because they were already using structured principals, not because they now use OOP principals.


What are the disadvantages of object oriented programming over structured programming?

actually oop concept have some disadvantage when compared to structured programming


What are the limitation of structured programming?

By itself, structured programming does not support the notion of a function call. This is achieved through an extension of structured programming known as procedural programming. Object-oriented programming extends procedural programming such that data and the functions that operate upon the data can be encapsulated within an object.


What Example of structured programming?

C is a structured programming language. PHP, COBOL is also a structured programming language. These languages follow a top down approach.


What are the Structured programming languages?

In Structured Programming also known as Modular Programming Each Method(function) is structured itself. Such logical structure make programming more efficient and easy to understand. it employs Top-Down design model.


What has the author Keith LaBudde written?

Keith LaBudde has written: 'Structured programming concepts' -- subject(s): Structured programming


What has the author R Schneyer written?

R. Schneyer has written: 'Modern structured programming' -- subject(s): Structured programming


What has the author K A Arjani written?

K. A. Arjani has written: 'Structured programming flow charts' -- subject(s): Structured programming


What has the author Wade Ellis written?

Wade Ellis has written: 'Structured programming using Turbo BASIC' -- subject(s): BASIC (Computer program language), Structured programming, Turbo BASIC (Computer file) 'Structured programming using True BASIC' -- subject(s): Structured programming, True BASIC (Computer program language)


What is the difference between structured oriented programming procedure and oriented programming?

LOTTA


Why goto is not a good structured programming style?

goto is a statement, not a programming style.