Article View: comp.lang.java
Article #320Re: Will Java kill C++?
From: Peter Hinely
Date: Fri, 19 Apr 1996 02:50
Date: Fri, 19 Apr 1996 02:50
17 lines
1249 bytes
1249 bytes
In article <3176B6C5.F4D@concentric.net>, Alan L. Lovejoy <alovejoy@concentric.net> wrote: > >The central point of object-oriented programming is...objects. That is, >the unification of value and behavior into an encapsulated object. > >--Alan Behavior (implemented as methods) need not be encapsulated into objects for a language to be object-oriented. This corresponds to real life where most objects do not have methods encapsulated into them. Does a ball know how to throw itself? No, it is thrown by something else. This can be modeled in a language via generic functions which dispatch to the appropriate method according to the argument list passed to it. throw( <ball> ) throw( <something-else> )
Technical Details
Message-ID:
<Dq3984.KBD@news.hawaii.edu>Path:
arc1-ca.pugleaf.net!news.hawaii.edu!phinelyReferences:
<3134D499.653E@ix.netcom.com> <BLUME.96Apr16103345@zayin.cs.princeton.edu> <3175F966.167EB0E7@fernuni-hagen.de> <3176B6C5.F4D@concentric.net>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk Path: arc1-ca.pugleaf.net!news.hawaii.edu!phinely From: phinely@Hawaii.Edu (Peter Hinely) Subject: Re: Will Java kill C++? X-Nntp-Posting-Host: uhunix4.its.hawaii.edu Message-ID: <Dq3984.KBD@news.hawaii.edu> Sender: news@news.hawaii.edu Organization: University of Hawaii References: <3134D499.653E@ix.netcom.com> <BLUME.96Apr16103345@zayin.cs.princeton.edu> <3175F966.167EB0E7@fernuni-hagen.de> <3176B6C5.F4D@concentric.net> Date: Fri, 19 Apr 1996 02:50:28 GMT