NSNumber math operations category
NSNumber math operations category
- Subject: NSNumber math operations category
- From: joie(mecha : himitsu) <email@hidden>
- Date: Sat, 3 Aug 2002 02:27:53 -0500
Would anyone be interested in a category of NSNumber which implemented
methods like -add:, -subtract:, -multiply:, etc? That way, it would be
possible to write 100% OO code, a la SmallTalk, if I'm not mistaken. If
anyone thinks it's a good idea(and I'm sure it'd be one of the easier
projects ever), tell me; I'm just curious about the priority people on
this list place on 'Good OO' vs 'high speed.' If it leans more towards
the former, maybe implementing in a category of NSObject stuff like
-isTrue: would be in order. Of course... it begs the question, 'Why not
do something like CocoaSmallTalk?' (if such a thing exists, I'd be
interested...)
--joie
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.