Microsoft Word F. Asagba 2 Nig doc


Similarities between Structured Programming and



Yüklə 108,67 Kb.
Pdf görüntüsü
səhifə7/8
tarix07.01.2024
ölçüsü108,67 Kb.
#210500
1   2   3   4   5   6   7   8
A Comparative Analysis of Structured and Object-Or (2)

Similarities between Structured Programming and 
Object oriented Programming 
Both structured programming and OOP require 
rudimentary understanding of programming concepts 
and basic control flow. Loops, conditional statements, 
and variables are concepts that are important whether 
you are using a procedural language or an OOL. 
Conclusion
: In this paper, we have discussed the 
concepts of structured programming and object-
oriented programming and pointed out the similarities 
and differences between them. We have pointed out 
that object-oriented programming is an approach to 
software design that facilitates rapid development of 
complex applications and software reuse. Object-
oriented language is developed from the necessity to 
organize the programming process into a language. 
We also pointed out that object-oriented 
programming is a technique of writing programs 
using objects. Object-oriented programming 
languages provide general mechanisms for building 
software modules whose behaviour can be 
customized or specialized.
Traditionally, programmers would write programs 
that were called structured programs. The program 
would be designed to solve one big problem, but the 
programmers would break the problem down into 
smaller, more manageable problems and write small 
sections of code to solve each one. Object-oriented 
programming is the natural successor to this 
traditional way of programming. Instead of simply 
breaking the problem down into smaller problems, 
object-oriented programmers break the problem down 
into objects, each with a life of its own. The 
programmer then has to figure out what properties an 
object needs to function, and the methods necessary 
to bring it to life. Like most interesting new 
developments, object-oriented programming builds 
on some old ideas, extends them, and puts them 
together in novel ways. The result is many faceted 
and a clearer step forward for the art of programming. 
With the traditional, procedural-oriented/structured 
programming, a program describes a series of steps to 
be performed (an algorithm). In the object-oriented 
programming, instead of programs consisting of sets 
of data loosely coupled to many different procedures
object-oriented programs consist of software modules 
called objects that encapsulate both data and 
processing while hiding their inner complexities from 
programmers and hence from other objects. This can 
make object-oriented programs more flexible and 
easier to maintain. 
Finally, in terms of similarities, both require 
rudimentary understanding of programming concepts 
and basic control flow. Loops, conditional statements, 
and variables are concepts that are important whether 
you are using a procedural language or an OOL. 

Yüklə 108,67 Kb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin