Re: OOP Clarification
Re: OOP Clarification
- Subject: Re: OOP Clarification
- From: Chris Hanson <email@hidden>
- Date: Tue, 1 Jan 2002 12:55:25 -0600
Fundamentally, object-oriented programming is programming by sending
messages to objects.
Thus when you write [foo bar:baz] you're sending the message "bar:"
to the object foo with the argument baz.
A handler for a message is called a "method." An instance method,
therefore, is a method that responds to messages sent to an instance
of a class, and a class method is a method that responds to messages
sent to a class.
The message itself is represented by a "selector."
-- Chris
--
Chris Hanson | Email: email@hidden
bDistributed.com, Inc. | Phone: +1-847-372-3955
Making Business Distributed | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden