Re: Interesting take on Paradigms (OO vs Procedural)
- From: "Rick Smith" <ricksmith@xxxxxxx>
- Date: Fri, 28 Mar 2008 18:54:27 -0500
"Kellie Fitton" <KELLIEFITTON@xxxxxxxxx> wrote in messagenews:20701054-5cb5->4abb-b841-15b85c63b8f8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[snip]
You might find what my COBOL teacher said about OOP interesting:
Begin quote:
[snip]
Object oriented is simply an oversold and overhyped programming
concept, without any clear benefits that can be fathomed in the
IT world of business applications. Nonetheless, object oriented
design is mainly solutions to problems that COBOL does not have.
End quote:
It is my understanding that, "in the IT world of business
applications"; most data is representational, not object.
The distinction is that the former has little or no behavior
while the latter does.
One problem with attempting to add behavior to
representational data is that the process is potentially
never-ending. One may add methods to the class to use
the data in one way, then add more methods to use it
another way, and so on. In formal OO design, this
requires opening the class to add the methods--a no-no
that violates the Open/Closed Principle. If inheritance is
used to extend the class, then inheritance can not be used
also for sub-classing, without creating "class spaghetti".
To avoid this problem, one simply leaves the data as is
and creates separate classes that have the required
behavior. For business information, these classes use
the paradigm "clerks performing procedures on or with
data", which is pretty much what COBOL programs
do now.
.
- Follow-Ups:
- Re: Interesting take on Paradigms (OO vs Procedural)
- From: Charles Hottel
- Re: Interesting take on Paradigms (OO vs Procedural)
- References:
- Interesting take on Paradigms (OO vs Procedural)
- From: Rick Smith
- Re: Interesting take on Paradigms (OO vs Procedural)
- From: Howard Brazee
- Re: Interesting take on Paradigms (OO vs Procedural)
- From: Rick Smith
- Re: Interesting take on Paradigms (OO vs Procedural)
- From: Howard Brazee
- Re: Interesting take on Paradigms (OO vs Procedural)
- From: Rick Smith
- Re: Interesting take on Paradigms (OO vs Procedural)
- From: Kellie Fitton
- Interesting take on Paradigms (OO vs Procedural)
- Prev by Date: Re: Confessions of a CoBOL programmer
- Next by Date: Re: Confessions of a CoBOL programmer
- Previous by thread: Re: Interesting take on Paradigms (OO vs Procedural)
- Next by thread: Re: Interesting take on Paradigms (OO vs Procedural)
- Index(es):
Relevant Pages
|