| Sign In/My Account | View Cart |
| Article: |
Strings in Cocoa: Part I | |
| Subject: | Pretty Good Basic Coverage, couple points | |
| Date: | 2001-07-04 18:29:51 | |
| From: | bigboytoddy | |
|
As a 10+ year vet of ObjC programming, 15+ of OO, I can say he did a nice job, a bit wordy but inviting to the newbie. Very nice to see. Mike does make a few errors, obviously accolades given to ObjC the language for method/selector names, which has nothing to do with 'Range' in a name, it has to do with authors/creators of the Frameworks/Cluster/Classes. Which brings up a side issue, and likely more important. ObjC is not pure OO, and it still shows. It never claims to be, just working hard to shed it's C ancestory. ST which ObjC is based upon, syntax mostly, and some garbage collection ideas, on the otherhand doesn't burdeon the user with the issues of types, macros to make things easier, and also having types defined in a method/selector name. Just a point, and Mike may want to reconsider why he really likes types, if he is an OO expert writing about OO in the first place.
|
||
Showing messages 1 through 1 of 1.
Pretty Good Basic Coverage, couple points
"The argument to this method is -- as conveniently indicated by the method name (I love that about Objective-C) -- an NSRange"
And by saying "i love this about Objective-C" i wasn't trying to bring up any weighty issues of differences between OO lannguages. I was just stating that i like how readable and unambiguous (mostly, anyway) method names and code are. I realize this is a result of the guys at NeXT and Apple, and is feature of Cocoa, rather than ObjC; I guess i was too loose with my language.
By the way, i never claimed to be an expert at OOP. I said this in my first column, and my intent here has never been to project myself as such. I feel i have a good grasp on it, but i don't have the experience to debate the differences between SmallTalk and Objective-C. I'm just trying to relay to people starting out with Cocoa and Mac OS X development how to use Cocoa and how things fit together as i see it.
Its obvious that you have WAY more experience than me, so i'd love to keep the discussion going to learn more.