Re: Why Cocoa (say vs Carbon)
Re: Why Cocoa (say vs Carbon)
- Subject: Re: Why Cocoa (say vs Carbon)
- From: Robert Steely <email@hidden>
- Date: Wed, 26 Feb 2003 19:44:02 -0500
On Wednesday, February 26, 2003, at 07:03 PM, publiclook wrote:
REALbasic is not advertised as being better than Carbon, because
REALbasic *is* a Carbon-based development environment, and as such,
their paths are linked.
So you don't think the following quote from the cited page is an
advertisement ?:
<Quote>
The fact is that while Cocoa provides a richer set of functions than
Carbon, REALbasic provides you with a far richer set of
functions than Cocoa does. Writing an application in
REALbasic takes far less time and is far easier to
accomplish for the typical user than it would be in Cocoa.
And applications written in REALbasic can run on Mac OS 8,
Mac OS 9, Mac OS X, and Windows 95 through Windows XP. Don't
just take our word for it, you can convince yourself. Download the
Objective-C tutorial (in which you create a currency
calculator) from Apple's web site. Now create the same
currency calculator in REALbasic. With that exercise, you
will convince yourself.
<End Quote>
That does sound like an advertisement, doesn't it? ;)
I would further add that IMHO the author is clearly out of his mind if
he thinks what he says is true for "real" applications and not just
toys.
Like any development environment, it has its strengths and weaknesses.
RB's strengths are in rapid development (memory management is easier
and debug cycles are shorter) and cross-platform compatibility
(Classic, Carbon, and Windows). However, C-based code tends to be
faster than RB code (compiler not yet optimized) and Cocoa applications
are significantly smaller that RB (Carbon-based) apps.
I use both and try to pick the best development environment for any
given task.
But to get back to the original intent of the thread, I'd choose
ObjC/Cocoa to C/C++/Carbon development every day of the week and twice
on Sundays. As a Cocoa novice, I'm amazed at the power of the Cocoa
APIs. Especially drool-worthy is the ability to build a multi-document
text editor, that features rich text, imbedded graphics, rulers, text
justification, and a myriad of other features that requires practically
no code of my own.
Can't wait to learn more!
Bob
_______________________________________________
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.