Re: References, etc. for learning Cocoa?
Re: References, etc. for learning Cocoa?
- Subject: Re: References, etc. for learning Cocoa?
- From: Lloyd Sargent <email@hidden>
- Date: Wed, 15 Aug 2001 08:57:54 -0500
On Wednesday, August 15, 2001, at 02:59 AM, Ondra Cada wrote:
Lloyd,
Lloyd Sargent (LS) wrote at Tue, 14 Aug 2001 18:20:56 -0500:
LS> Pay CLOSE
LS> attention to anything and everything having to do with pointers -
they
LS> are your friends
Well, I guess with ObjC the importance of pointers somewhat diminished.
One
still needs to understand them, but not *THAT* thoroughly. Actually, I
can't
even remember when I used -> last time ;)
Also the unions and bitfields are next to useless today, and of course
the
complete standard libraries (as described in K&R) are more or less
negligible.
---
Ondra Cada
Well, again I have to disagree. Since ObjC is built on top of (not
replacing) C, a good foundation in C is required. Part of that
requirement is an understanding of pointers. Sure, you can wrap a lot in
an ObjC wrapper, but some of it you can't (like right now I'm dealing
with a tool for the Auth framework to run - and the tool has pointers in
it). Heck you look at what a pipe is (WHICH is what you pass the Auth
framework) and it is a pointer. So you can't TOTALLY ignore pointers.
Otherwise you run up against them and go "oh, dear, I've never seen THIS
before... what the heck is it?". <grin>
Yeah, unions and bitfields are, for the most part, gone by the wayside.
I wouldn't throw away ALL of the standard libraries away yet (I still
see examples using them).
However, I still maintain that pointers are your friends. Their
importance is a matter of opinion.
Cheers,
Lloyd
---
Canna Software Development
"This email was created using 100% virgin electrons."