| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Clean Object Class Design -- Circle/Ellipse
"Bob Badour" <bbadour_at_golden.net> wrote in message
news:Pthk7.641$m%1.127427644_at_radon.golden.net...
> James A. Robertson wrote in message <3B906770.E1C0185E_at_mail.com>...
> >Bob Badour wrote:
> >>
> >> James A. Robertson wrote in message <3B8A6798.A8F25218_at_mail.com>...
> >
> >> >> >1) Smalltalk is a crappy language
> >> >>
> >> >> Actually, I said it is just as crappy as C++, which does not say it
is
> >> >> crappy.
> >> >>
> >> >
> >> >Can you list your specific complaints?
> >>
> >> We can start by observing that Smalltalk, like C++, makes insufficient
> >> distinction between values and variables.
> >>
> >
> >hmm - C++ variables and Smalltalk variables are entirely different,
> >leading me to wonder how well you know Smalltalk.
>
Your wiggleword was "if". Glad you used it because it means you have a correct sentence. A completely useless sentence, but still correct.
>> >a variable as a type, thus determining the specific storage type to be
> >In C++, one declares
> >
Or might not. A variable can hold onto 5. 5 does not change.
>> >Smalltalk, a variable doesn't have to reference any particular kind of
> >In
>
> >
Specifically, you're making an error that may or may not be important.
Smalltalk has Objects that are values.
You've been asked what you would call the thing/type/whatever that
is both variable and value. I don't think you answered. I assume its
a concept that is foreign to you and hence irrelevant. Well, for an
OOist, that thing is Object. You may have something useful to say,
but since we part company at such a fundamental level, its hard to know.
> >> >> >2) Instances are not values.
> >> >> >
> >> >> >Since Smalltalk *has* instances that are values (the number
> >> >> >5 comes mind),
> >> >>
> >
> >Generally (In VisualWorks, most others are roughly similar), a variable
> >references an object.
>
> >
> >> >objects, where the header actually holds the object (SmallInteger
> >There are exceptions; one can have 'immediate'
>
> >
>
How do you know this?
>
>
When people talk at cross-purposes, they generally come out of the discussion with the same pre-ordained opinions they went in with. As an observer, I don't see how your conclusion has been demonstrated. Received on Sun Sep 02 2001 - 10:43:54 CDT
![]() |
![]() |