• 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: Class clusters - infinite loop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class clusters - infinite loop?


  • Subject: Re: Class clusters - infinite loop?
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 25 Jun 2005 12:46:29 +0200

Wade,

On 25.6.2005, at 8:52, email@hidden wrote:

I must ask, is a class cluster really necessary?

No.

It is tremendously convenient though, and it makes possible much looser link between the API contract and its actual implementation, which brings *great* flexibility and thus is The Right Thing.

They're the bane of extensibility,

Says who? I extend arrays and dictionaries and strings functionality every day. Never encountered any problem at all.


for only an addition of some trivial convenience.

Tremendous convenience and flexibility.

Is it not a better approach to have well-defined subclasses, specialising in particular areas?

Definitely nope. The advantage is that a new release or a 3rd party code can bring new hidden subclasses, whose advantages you older applications would exploit automatically and immediately, without you even need to know and without even recompiling.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Class clusters - infinite loop?
      • From: Wade Tregaskis <email@hidden>
References: 
 >Class clusters - infinite loop? (From: Steve Canfield <email@hidden>)
 >Re: Class clusters - infinite loop? (From: email@hidden)

  • Prev by Date: Amatuer problem with NSTextField and NSButton
  • Next by Date: Amatuer problem with NSTextField and NSButton [Solved]
  • Previous by thread: Re: Class clusters - infinite loop?
  • Next by thread: Re: Class clusters - infinite loop?
  • Index(es):
    • Date
    • Thread