Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Is [variable] not object?
ChanHong Kim wrote:
>
> I'm writing the Dolphin Smalltalk tutorial in Korean.So I'll explain
> [variables] in philosopical method.
>
> In Smalltalk, "Everything is Object", however, variable is not.
> I can't send any message variable itself. The message sent to the
> object which is bind that variable.
>
> How can I explain such situation? Please tell me good idea about
> explain the concept of Smalltalk's variables.
>


Perhaps describe variables as collections of slots?
Instance vars are slots in an object,
Global vars are slots in a dictionary object,
temp vars are ad-hoc slots you can request by writing their names between
two vertical bars.

Since slots are part of an object they are not objects.


R
-


Report this thread to moderator Post Follow-up to this message
Old Post
Reinout Heeck
05-25-05 08:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Smalltalk archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:18 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.