• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] What happened to Stepstone?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >[OT] What happened to Stepstone? (From: Felix Schwarz <email@hidden>)
 >Re: [OT] What happened to Stepstone? (From: Alexander Lamb <email@hidden>)
 >Re: [OT] What happened to Stepstone? (From: Daniel Jalkut <email@hidden>)
 >Re: [OT] What happened to Stepstone? (From: AgentM <email@hidden>)

  • Prev by Date: Re: [OT] What happened to Stepstone?
  • Next by Date: NSDrawer FirstResponder problem
  • Previous by thread: Re: [OT] What happened to Stepstone?
  • Next by thread: Re: [OT] What happened to Stepstone?
  • Index(es):
    • Date
    • Thread