• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie question (from Bonny Scotland)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question (from Bonny Scotland)


  • Subject: Re: Newbie question (from Bonny Scotland)
  • From: Scott Thompson <email@hidden>
  • Date: Tue, 27 Jul 2004 10:10:52 -0500

On Jul 27, 2004, at 3:37 AM, Kenny Millar wrote:

Hi All
Earlier this year I took the plunge and 'switched' to Mac OS X from Windows.
A move which I have not regretted!
Anyway, I've been porting some of my applications over to Mac OS using
Carbon with XCode 1.2 and IB.


My question is this - is it possible to create Cocoa applications written entirely in C/C++ not Objective-C using Xcode? The reason I ask is that due to a bad experience with SmallTalk as a student I have developed a pathological hate for it.

Anyway, all comments and criticisms welcome.

Well... All I can say is that you shouldn't let one bad experience with SmallTalk ruin your life. Life is too short not to enjoy SmallTalk. From a psychological standpoint, I would say that any hatred you may be feeling toward SmallTalk is quite likely to be misplaced anger that you wanted to direct at Windows. Unfortunately when you realized that hating Windows only fueled the evil behind it... you channeled your anger in a non-productive way.


May I suggest that you look at Squeak? <http://www.squeak.org>. It may help you soothe old wounds and get on with your programming life.

Now, on to your question...

In the strictest sense... then answer to your question is "Yes". it is possible to write a Cocoa application using only C and C++. If you care to think about it this way, Objective-C is simply syntax sugar on top of a C library that implements a dynamic object runtime. Unfortunately, Objective-C is syntax sugar on a C library much the same way that C is simply syntax sugar on top of assembly, or machine code. It is possible to write applications using the underlying technology, but it would be needlessly painful.

My recommendation would be to take the plunge and spend a week with Objective-C. At the first it will be a bit like jumping into an ice cold pool (unlike the folks here in Texas, I figure you guys in Scotland should know about Ice Cold). After a while the shock will wear off, however, and the environment will begin to feel more comfortable.

Enjoy!

Scott
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Newbie question (from Bonny Scotland)
      • From: Hugh Sontag <email@hidden>
    • Re: Newbie question (from Bonny Scotland)
      • From: Godfrey DiGiorgi <email@hidden>
  • Prev by Date: Re: External Editor / ODB Suite
  • Next by Date: Re: wchar_t* turned into a char*?
  • Previous by thread: Re: Newbie question (from Bonny Scotland)
  • Next by thread: Re: Newbie question (from Bonny Scotland)
  • Index(es):
    • Date
    • Thread