Newsgroups: comp.soft-sys.powerbuilder,comp.object,comp.lang.c++,comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!gatech!swrinde!cs.utexas.edu!news.sprintlink.net!sunserver.insinc.net!cuugnet!wagnerc
From: wagnerc@cuug.ab.ca (Craig Wagner)
Subject: Re: what is an object?
Message-ID: <D79A9u.2H2@cuug.ab.ca>
Followup-To: comp.soft-sys.powerbuilder,comp.object,comp.lang.c++,comp.lang.smalltalk
Organization: Calgary UNIX User's Group
X-Newsreader: TIN [version 1.2 PL2]
References: <3mu025$e5o@tst.hk.super.net> <3mudap$o0h@wendy.ibmpcug.co.uk>
Date: Wed, 19 Apr 1995 00:10:26 GMT
Lines: 17
Xref: glinda.oz.cs.cmu.edu comp.soft-sys.powerbuilder:13626 comp.object:29728 comp.lang.c++:123749 comp.lang.smalltalk:22860

John Tyndale (irish@nicotine.win-uk.net) wrote:

: In actuall OO terms there are really only three objects in PB.
: Well 2 1/2.  The Window, UserObject and the half is the Menu object
: which really should be part of the window object.  

I agree with everything you said up until this last sentence. I disagree 
that the menu should be part of the window. If that were the case you 
limit the amount of inheritence and reuse you can get out of your menus. 
The whole point of an OO environment is reuse of components. If you tie 
the menu too tightly to a particular window you limit its ability to be 
reused in my opinion.
-- 
Craig Wagner		| Internet:	wagnerc@cuug.ab.ca
CPD Professional	| Fidonet:	1:134/238
Visual Systems		| Home: (403) 271-7387
Calgary, AB		| Work: (403) 262-9970
