private instance variables NOT objects? (Wikipedia)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

private instance variables NOT objects? (Wikipedia)

LawsonEnglish
In the Wikipedia entry on Smalltalk, there is this line in the history
section, 3rd paragraph, added roughly a year ago:  "...Smalltalk-80
added [[metaclass]]es, to help maintain the "everything is an object"
(except private instance variables) paradigm by associating properties
and behavior with individual classes, ..."


Is this one of those esoteric details that mere mortals are not meant to
understand, or is this an error?


Lawson




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] private instance variables NOT objects? (Wikipedia)

Eliot Miranda-2


On Mon, Oct 25, 2010 at 1:59 PM, Lawson English <[hidden email]> wrote:
In the Wikipedia entry on Smalltalk, there is this line in the history section, 3rd paragraph, added roughly a year ago:  "...Smalltalk-80 added [[metaclass]]es, to help maintain the "everything is an object" (except private instance variables) paradigm by associating properties and behavior with individual classes, ..."


Is this one of those esoteric details that mere mortals are not meant to understand, or is this an error?

"(except private instance variables)" looks like a dig or a jibe.  I would have put it

 "...Smalltalk-80 added [[metaclass]]es, to help maintain the "everything is an object" paradigm by allowing classes to have their own specific state and behavior, ..."
 
Perhaps they were trying to say that because Smalltalk lacks private instance variables Smalltalk objects are not true objects, which is I suppose arguable.  But it makes poor sense to state that private instance variables aren't objects; public inst vars aren't objects either.

best,
Eliot



Lawson






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: private instance variables NOT objects? (Wikipedia)

Schwab,Wilhelm K
In reply to this post by LawsonEnglish
Right or wrong (not sure which), I have always thought of meta classes as breaking a recursion that arises when classes aspire to be objects that have all have a class.  Is there such a thing as private instance variables?  Could that mean the header, special behavior masks (a Dolphinism), etc.?

Independent of the truth, this **IS** something that mere mortals are not meant to understand :)  



________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Lawson English [[hidden email]]
Sent: Monday, October 25, 2010 4:59 PM
To: The general-purpose Squeak developers list; Pharo >> "[hidden email]"
Subject: [Pharo-project] private instance variables NOT objects? (Wikipedia)

In the Wikipedia entry on Smalltalk, there is this line in the history
section, 3rd paragraph, added roughly a year ago:  "...Smalltalk-80
added [[metaclass]]es, to help maintain the "everything is an object"
(except private instance variables) paradigm by associating properties
and behavior with individual classes, ..."


Is this one of those esoteric details that mere mortals are not meant to
understand, or is this an error?


Lawson




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] private instance variables NOT objects? (Wikipedia)

Bert Freudenberg
In reply to this post by Eliot Miranda-2

On 25.10.2010, at 23:10, Eliot Miranda wrote:



On Mon, Oct 25, 2010 at 1:59 PM, Lawson English <[hidden email]> wrote:
In the Wikipedia entry on Smalltalk, there is this line in the history section, 3rd paragraph, added roughly a year ago:  "...Smalltalk-80 added [[metaclass]]es, to help maintain the "everything is an object" (except private instance variables) paradigm by associating properties and behavior with individual classes, ..."


Is this one of those esoteric details that mere mortals are not meant to understand, or is this an error?

"(except private instance variables)" looks like a dig or a jibe.  I would have put it

 "...Smalltalk-80 added [[metaclass]]es, to help maintain the "everything is an object" paradigm by allowing classes to have their own specific state and behavior, ..."
 
Perhaps they were trying to say that because Smalltalk lacks private instance variables Smalltalk objects are not true objects, which is I suppose arguable.  But it makes poor sense to state that private instance variables aren't objects; public inst vars aren't objects either.

It's plain nonsense. Here's the edit that added the "private instance" modifier:


Someone should just correct it.

- Bert -



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project