Re: [OT] What happened to Stepstone?
Re: [OT] What happened to Stepstone?
- Subject: Re: [OT] What happened to Stepstone?
- From: John Stiles <email@hidden>
- Date: Fri, 2 Dec 2005 11:16:24 -0800
On Dec 2, 2005, at 11:03 AM, AgentM wrote:
The book's angle is sort of how you can "objectify" whatever
language you want to, similarly to how they objectified C.
Since you bring it up, it should be noted that one doesn't really
need new syntax to "objectify" a language. I use the following
method to write OO-C every day:
http://dekorte.com/docs/essays/ooc/
This works for very very simple cases, but it is quite difficult to
do real object-oriented code this way.
How do you subclass?
- If you change a base class, you have to manually propagate changes
to subclasses
- When calling a method, you have to remember whether your function
is part of the object's class, or its parent, etc.
How do you do virtual functions?
- Manually assemble virtual function tables and insert the
appropriate pointer into a "vtable" pointer in the struct?
- Reinvent the Objective-C selector dispatch mechanism? (I highly
doubt many programmers have the technical skill to do it justice!)
IMO, without subclassing or virtual dispatch, object-oriented code
loses a lot of its charm :) This is just a clean naming convention
for functions that work on structs.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden