Re: Docs, questions and stuff
Re: Docs, questions and stuff
- Subject: Re: Docs, questions and stuff
- From: Chris Gehlker <email@hidden>
- Date: Fri, 24 Aug 2001 15:25:59 -0700
On 8/24/01 1:30 PM, "Jonathan Hendry" <email@hidden> wrote:
>
On Friday, August 24, 2001, at 10:11 , Chris Gehlker wrote:
>
>
> On 8/24/01 5:51 AM, "email@hidden" <email@hidden>
>
> wrote:
>
>
>
>> A couple of questions for today: Can someone recommend the "Learning
>
>> Cocoa"
>
>> book for a newbie like me? What's the best way to learn ObjC? Should I
>
>> begin
>
>> from Scratch with C++ and then go to ObjC? Can you recommend a good
>
>> book for
>
>> "Learning ObjC"?
>
>
>
> I see I'm going to have to don my flameproof suit.
>
>
>
> Right now, if you are not familiar with OO at all and are limited to
>
> readily
>
> available books there is really only one way to do it without a lot of
>
> backtracking. Go get a good, Object Oriented C++ book like "Accelerated
>
> C++"
>
>
Huge mistake. Why bother learning about multiple inheritance, references,
>
operator overloading, etc., when Objective C doesn't support them? (And
>
neither does Java, for that matter)
Of course Java and ObjC support MI. They would be pretty useless without it.
It's just that Java supports it less elegantly than the other two. The other
differences are trivial and some may soon be supported as ObjC moves to a
C99 base.
>
> There are a couple of wrinkles but folks on this list will help.
>
>
We've got our hands full just answering Cocoa/ObjectiveC questions
>
without having to undo C++ damage as well.
You speak for everyone on this list?
>
> The problem with "Learning Cocoa" is that the author(s) think in C. It
>
> will
>
> teach you that OO is only for accessing the Cocoa frameworks.
>
>
I don't see that.
That's pretty scary. Have you read it?
>
But it's called "Learning Cocoa" for a reason. If you
>
want
>
"Learning OO" you'll have to buy a different book.
Exactly!
If you want to learn C, K&R is a better book. If you want to use Cocoa to
put a pretty UI on C programs, I feel the pain of anyone who has to maintain
your code.
>
(Sheesh, next thing people will be claiming that "Learning Cocoa" will
>
teach you that Charlton Heston signed the Declaration of Independence.)
>
>
> This won't
>
> hurt if you are coming from an OO background but nobody should do this
>
> to a
>
> newbie.
>
>
In my experience, people learning C++ don't learn about OO, they
>
learn about making their C++ code compile.
Then you have never experienced any decent teaching of C++. That would go
along way to explaining your attitude. But it doesn't have to be that way
and, for the most part, it isn't anymore.
--
Every society honors its live conformists and its dead troublemakers.
-Mignon McLaughlin, author