Re: Help me, which book I should buy to learn Cocoa??
Re: Help me, which book I should buy to learn Cocoa??
- Subject: Re: Help me, which book I should buy to learn Cocoa??
- From: "Alastair J.Houghton" <email@hidden>
- Date: Tue, 26 Aug 2003 11:26:28 +0100
On Tuesday, August 26, 2003, at 12:32 am, Georg Tuparev wrote:
And Mr. Zobkiw obviously does not understand things like polymorphism,
metadata etc... If I show this book to an average MFC coder, she will
start laughing and I will be asked how it is possible to use such
archaic coding practices.
Whilst I haven't read the book and I have heard others criticise it, I
think these comments are a bit harsh, and frankly rather unnecessary in
a public forum. Furthermore, in *my* experience, an "average MFC
coder" barely understands C, let alone C++ and often doesn't even
understand basic OO principles (even simple things like
inheritance...). It's also worth pointing-out that archaic doesn't
mean "bad" or "wrong"; most OS kernel code is still non-OO, as is a lot
of code on embedded systems.
Not everything in Mac OS X development can be done in an object
oriented manner,
Really? Examples please!
Signal handling, various Mach-related things, BSD kernel development
(although IOKit is OO), use of legacy libraries (many of which are not
OO), terminal manipulation, process control, use of SysV IPC (although
please don't ;->). I'm sure that isn't a complete list.
It is also often the case that for very simple applications, a non-OO
solution will be shorter and simpler. Cocoa is a lot better than most
OO frameworks in this respect, because it doesn't impose a lot of
clutter on you, but you can still write e.g. a program to print the
number of seconds since 1970 or a program to compute a checksum of a
file more quickly *without* using OO.
Regards,
Alastair.
_______________________________________________
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.