Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

larswik

macrumors 68000
Original poster
Sep 8, 2006
1,552
11
So after my Pascal Class on Monday I went to the computer lab to work on the home work problem assignment. Afterward I was talking to the TA about wanting to start the iPhone programming class next semester. He said "ooooo.... that is not a procedural language and it jumps around you really should take JAVA first to get use to an OO level language". My thought was, "!!!!!". OMG, really??? I start with Python, then to a little Object-C and switched to C which I finished the book, now to the Pascal class and then I need to take a Java class?

What do you guys think? Maybe I will start reading the next PeachPress objective-C book now to help get me up to speed so I don't need to start on another language before the iphone programming class.

-Lars
 
If you got the OOP concepts down, you should be able to pick up Obj-C without problem IMO. If not you can get a hang of if through Python, or just look for some online material describing object oriented analysis, or a book.
 
You have to learn OOP with some OO language. If it's java or objective-C... you'll get to the same place. If the java class isn't a pre-req for the iPhone class you want to take, I wouldn't say it's strictly necessary. If the description of the iPhone class says the course assumes you are familiar with OOP principles, you'll need to be. But if pascal is the pre-req I would have to think they'd cover objective-C including OO concepts along with cocoa touch specifics.

-Lee
 
You have to learn OOP with some OO language. If it's java or objective-C... you'll get to the same place. If the java class isn't a pre-req for the iPhone class you want to take, I wouldn't say it's strictly necessary. If the description of the iPhone class says the course assumes you are familiar with OOP principles, you'll need to be. But if pascal is the pre-req I would have to think they'd cover objective-C including OO concepts along with cocoa touch specifics.

-Lee
Some Pascal dialects are object-oriented.
 
Java is a nice learning language for OOP. Objective C is sort of a mix between OOP and a procedural language (C), which can make it confusing. In other words, I agree with your TA. There a lot of good learning material on Java. Also, it's a widely used language in the industry so it's worth learning on its own merits. Pascal, on the other hand, is pretty much dead except as a learning language.
 
Last edited:
what's the difference between objective-C and C++? I thought C is procedural, and C++ is the object-oriented extension of C?? :confused:
 
what's the difference between objective-C and C++? I thought C is procedural, and C++ is the object-oriented extension of C?? :confused:

The fundamental difference between Objective-C and C++ is that Objective-C requires platform infrastructure support (like libraries + frameworks) while C++ is a tool that compiles standard procedural object code written in an object-oriented source structure. C++ can be used within Objective-C (is available to Cocoa programmers) and is used as the support structure behind the IOKit part of Mac OS used to write device drivers.
 
The fundamental difference between Objective-C and C++ is that Objective-C requires platform infrastructure support (like libraries + frameworks) while C++ is a tool that compiles standard procedural object code written in an object-oriented source structure. C++ can be used within Objective-C (is available to Cocoa programmers) and is used as the support structure behind the IOKit part of Mac OS used to write device drivers.

so a truer comparison should be between say objective-c and visual c++ for windows needing the platform infra. support?
 
The fundamental difference between Objective-C and C++ is that Objective-C requires platform infrastructure support (like libraries + frameworks) while C++ is a tool that compiles standard procedural object code written in an object-oriented source structure. C++ can be used within Objective-C (is available to Cocoa programmers) and is used as the support structure behind the IOKit part of Mac OS used to write device drivers.

ahhh...that makes sense. Thanks! :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.