Skip to main content
Search titles, bodies, and author names
Found 3,408 posts across 1 forum.

C++ or Objective-C? — #1

Hi, I'm new to software development so I was wondering, which programming language would be the best for Mac development, C++ or Objective-C. I will be programming in xCode, so whi…
MacNN Development by Spaceman Spiff

C++ or Objective-C? — #2

Where should I go to learn (for the complete noob) about either one? After reading a few web pages, I kinda leaning towards Objective-C, but I can't find any that don't already req…
MacNN Development by Spaceman Spiff

C++ or Objective-C? — #3

In either case you should really learn plain C first. But for Mac-specific programing, Objective-C is the language of choice. It has the best integration with the Mac APIs (eg, C…
MacNN Development by Brass

C++ or Objective-C? — #4

Quote: Originally Posted by Brass In either case you should really learn plain C first. But for Mac-specific programing, Objective-C is the language of choice. It has the best…
MacNN Development by Spaceman Spiff

C++ or Objective-C? — #6

Xcode can compile C++, Objective-C and plain old C. So you've got a compiler no matter which you go with. And yeah, a search would probably turn up better recommendations than you'…
MacNN Development by Chuckit

C++ or Objective-C? — #7

Definitely spend most of your time learning C first. It helps to take a class in it. Then Objective-C will come easily.
MacNN Development by jamil5454

C++ or Objective-C? — #8

Good luck making your decision. Like everyone, I agree that you should try and learn C first (or use the Cocoa bindings from a language like Python if learning C isn't your desire…
MacNN Development by smitty825

C++ or Objective-C? — #9

Quote: Originally Posted by PBG4 User Yes, Xcode will compile ANSI compliant C code. Wow! I thought that there was no way that XCode supported ANSI C, as I can't imagine an…
MacNN Development by smitty825

C++ or Objective-C? — #10

Quote: Originally Posted by smitty825 Wow! I thought that there was no way that XCode supported ANSI C, as I can't imagine anyone has written anything in ANSI C in at least 10 …
MacNN Development by Catfish_Man

C++ or Objective-C? — #11

Quote: Originally Posted by smitty825 Wow! I thought that there was no way that XCode supported ANSI C, as I can't imagine anyone has written anything in ANSI C in at least 10 …
MacNN Development by Chuckit

C++ or Objective-C? — #12

Quote: Originally Posted by smitty825 I personally disagree with Brass' statement that Obj-C syntax is far simpler than C++. IMHO, C++ more closely follows the C language behav…
MacNN Development by Brass

C++ or Objective-C? — #13

Objective-C has more than one syntactic extension to C. It adds keywords such as @implementation…@end and @try, and the <ProtocolName> syntax for indicating conformance to a …
MacNN Development by Chuckit

C++ or Objective-C? — #14

Quote: Originally Posted by smitty825 Good luck making your decision. Like everyone, I agree that you should try and learn C first (or use the Cocoa bindings from a language li…
MacNN Development by Spaceman Spiff

C++ or Objective-C? — #15

Quote: Originally Posted by Spaceman Spiff I will defiantly be writing Mac software 99.9% of the time, but if I want to write a Windows (or Linux) program, does a Obj-C compile…
MacNN Development by Brass

C++ or Objective-C? — #16

Quote: Originally Posted by Spaceman Spiff I will defiantly be writing Mac software 99.9% of the time, but if I want to write a Windows (or Linux) program, does a Obj-C compile…
MacNN Development by Chuckit

C++ or Objective-C? — #17

Quote: Originally Posted by Chuckit You don't think anything has been written in C89 since 1995? What do you reckon all the C programmers were using in 1996? Whoops...I mis…
MacNN Development by smitty825

C++ or Objective-C? — #18

Quote: Originally Posted by Chuckit They do, but it would likely be a lot more than a simple recompile —�but that's true of porting a C++ Mac program as well. The only project…
MacNN Development by Spaceman Spiff

C++ or Objective-C? — #19

Carbon and Cocoa are very different. It's not that one is necessarily less capable than the other, they're just different. To generalize a lot, I would say Cocoa is "easier." Carbo…
MacNN Development by Chuckit

C++ or Objective-C? — #20

I think that Apple originally inteded Carbon to be a "transition" technology from Classic Mac OS to Mac OS X. However, this is certainly not the case now. It is not the poor cous…
MacNN Development by Brass

C++ or Objective-C? — #21

If you're writing new code, then cocoa is probably the best way to go since you're starting fresh. Carbon does have it's applications though and certainly could be used. IMO, car…
MacNN Development by flanders

C++ or Objective-C? — #22

Cocoa is meant for Objective-C, but you can use other languages with it. Java, Perl, Python, Ruby and probably several others I haven't thought of all have Cocoa bridges.
MacNN Development by Chuckit
mp.ls