Hi there,
what is the difference between OOP and Structured Programming?
thanx.
Printable View
Hi there,
what is the difference between OOP and Structured Programming?
thanx.
Moved from FAQ forum
From this link: http://searchvb.techtarget.com/sDefi...866374,00.html
In my opinion OOP is a layer on top of this - it's a way to organize and group functionality so that the "approach" is object based instead of functionality based.Quote:
Program flow follows a simple hierarchical model that employs looping constructs such as "for," "repeat," and "while." Use of the "Go To" statement is discouraged.
Structured programming was first suggested by Corrado Bohm and Guiseppe Jacopini. The two mathematicians demonstrated that any computer 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 (which is often considered to be synonymous with structured programming, although other models exist) the developer separates programs into subsections that each have only one point of access and one point of exit.
I'm sure others more recently trained in OOP will come along with much cleaner definitions of it...
Post #8 in this thread has a nice definition of OOP
http://www.vbforums.com/showthread.p...hlight=oop+dog