× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Guys



Most IBM I applications are procedural transaction based systems that don’t
need OOP. That doesn’t mean that you can’t structure your common used code
into dynamical called subprograms or service programs with subprocedures.



A service program is in an analogy a single level class object with methods
(subprocedures) that can be called across main programs and holds its own
variables and storage allocations.



No, the service program doesn’t have all the fancy OOP and theoretical BS
and fancy words features because they are made to act in a procedural
environment.



Regardless of that is an RPG programmer who knows /free, service programs
and subprocedurer much closer on OOP programming.

On Tue, Dec 9, 2014 at 4:45 PM, John E <whattssonn@xxxxxxxxx> wrote:

If that's your experience and expertise, you would still not be
anywhere near 80% of the way toward Alan Kay's idea of OOP (though you
could be most of the way toward Java's flavor of OOP).

Yes. It was a response to Dieter's comment.

There is no canonical definition of OOP. Even Alan Kay doesn't have one.
Polymorphism, overriding methods, classes, etc, are not fundamental to OOP.



On Tue, Dec 9, 2014 at 4:14 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Tue, Dec 9, 2014 at 5:12 AM, John E <whattssonn@xxxxxxxxx> wrote:
Dr. Allan Kay (the one who "invented" OOP) :
"
OOP to me means only messaging, local retention and protection and
hiding
of state-process, and extreme late-binding of all things.
"

It's more accurate to say that he coined the term "object-oriented
programming" than to say he invented the concept. You could argue he
invented a particular flavor of it. The thing is, OOP is not just one
person's vision. Like almost anything else, other people can have
valid opinions, and concepts can evolve. What something becomes can
be highly influenced by what people want it to be. Even the meanings
of words in everyday language. Dictionaries need to be updated from
time to time.

There are many disagreements over what exactly OOP entails (some
mentioned in the link you gave). Here's another, mostly agnostic,
discussion of what OOP is:

http://mumble.net/~jar/articles/oo.html

I don't think you will find many people who would deny that Java is
object oriented and supports OOP. Certainly Java was specifically
designed to support OOP. Yet in many ways it's quite far from Alan
Kay's vision.

So the most important "thing" in OOP, and SWD in general, is to
de-couple
code, and manage / control state. So if you have *good* experience with
*modular* programming (not just using procs instead of subs which is
just
syntax), using *MODULEs and *SRVPGMs, then you're already 80% there
(i.e.
you know the important concepts).

If that's your experience and expertise, you would still not be
anywhere near 80% of the way toward Alan Kay's idea of OOP (though you
could be most of the way toward Java's flavor of OOP).

I'm not saying modular programming is bad, or that you're not 80% of
the way to "something good". I'm just saying that quoting Alan Kay
isn't supporting your argument.

John Y.


For more comprehensive reading on OOP, there's

http://c2.com/cgi/wiki?DefinitionsForOo

That wiki has a fairly detailed page devoted to Alan Kay's OOP:

http://c2.com/cgi/wiki?AlanKaysDefinitionOfObjectOriented
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.