Discuss the advantages and disadvantages of both the structured and object-orien
ID: 3540450 • Letter: D
Question
Discuss the advantages and disadvantages of both the structured and object-oriented (OO) paradigm in programming. Why do you suppose the industry prefers OO languages over the earlier structured programming languages? Does the OO paradigm better reflect the human way of thinking and conceptualizing? Why or why not?
Identify two key OO concepts and explain them as if you were communicating with a nonprogrammer with a limited technology background, using non-programming, non-computing, real-world analogies. Which would you prefer? Explain your choice.
Explanation / Answer
A type of programming in which programmers define not only the data type of a data structure, but also the types of operations (functions) that can be applied to the data structure. In this way, the data structure becomes an objectthat includes both data and functions. In addition, programmers can create relationships between one object and another. For example, objects caninheritcharacteristics from other objects.
One of the principal advantages of object-oriented programming techniques over procedural programming techniques is that they enable programmers to create modules that do not need to be changed when a new type of object is added. A programmer can simply create a new object that inherits many of itsfeaturesfrom existing objects. This makes object-oriented programs easier to modify.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.