9 Comments

Summary:

I was going to write up a C/C++ primer, but I think this will do well…. http://visualcplus.blogspot.com/. Just start with lesson one, and work your way from there. Now that it’s fallen off of the digg.com top spots, it should be accessible. Just ignore the Windows-centric […]

I was going to write up a C/C++ primer, but I think this will do well…. http://visualcplus.blogspot.com/. Just start with lesson one, and work your way from there.

Now that it’s fallen off of the digg.com top spots, it should be accessible. Just ignore the Windows-centric portions of the tutorials, and it is a good intro to programming, and builds the bridge to learning Obj-C and Cocoa. Most Cocoa tutorials assume you’ve had that experience. If you know C or C++ well, then Aaron Hillegass’ book on Cocoa is a good one.

I recommend studying C or C++ before you attempt to use the tutorials on www.cocoadevcentral.com. Though they’re good, it’s still a good idea to come to the table with something when you start. From there, you might be able to glean more info from www.cocoadev.com. I advise against posting there right away, as the cocoadev wiki users can be a little rough to “newbies”. But, it’s certainly a place to start.

You’re subscribed! If you like, you can update your settings

  1. This tutorial assumes the user already understands many concepts and presents a broad overview only. If you’re not great with math, you’ll great left behind quickly. Sorry, I’ve been out of high school math for 25 yrs, so his brief discussion of binary, octal and hexadecimal numbers left me behind at the first paragraph.

    To me, it seemed more like he was showing off his smarts than to really try to lead the user through a practical tutorial. Guess I’ll have to look elsewhere.

  2. Jason Terhorst Monday, February 27, 2006

    They can be a little tough, if you’re not into the heavier math concepts. If you want something that’s easier to grasp, you might try the C for Dummies books. There’s a bundle package book on Amazon.com for $30, I believe.

    Ah, I found it: http://www.amazon.com/gp/product/0764517953/ref=pd_sim_b_5/104-2097000-1093541?%5Fencoding=UTF8&v=glance&n=283155

  3. As a programmer with a decade of commercial C under my belt, I’m a bit flabbergasted by the idea that you should start to learn Cocoa by learning C . The primary language of Cocoa is Objective-C, and the only similarities between C and Objective-C is they are both descendants of C, and they are both object oriented languages. C is not simpler than Objective-C, quite the contrary, and is probably harder to learn for a pure beginner. So, you are advocating learning a complicated language whose concepts and syntax do not match up with the simpler language you eventually want to learn. Madness.

    If you want to develop in Cocoa, start learning Objective-C. A lot of perfectly useful little applications can be put together graphically in Interface Builder with very little actual code, so you can wean yourself into writing more and more lines of code.

    It might be helpful to learn C first, but not hugely so. Later if some future project forces you to learn C , you’ll be surprised at what an ugly hack of a language it is, surviving purely on its legacy codebase.

  4. For whatever reason, this website removed the plus plus from before the C in my post above. The only time I meant to use a C by itself was in the phrase “It might be helpful to learn C first,”

  5. Is there a suggestion for a resource for beginners learning Objective-C?

  6. I did a search and couldn’t find anything that applied to the raw beginner, so any suggestions are appreciated, especially if they are mac centric.

  7. John C. Randolph Tuesday, February 28, 2006

    Umm.. It’s not April first yet, is it?

    Ok, then.. C is a detriment to the beginning Cocoa programmer. It’s a horribly complicated language which encourages terrible programming habits, and sets an expectation of complexity that often stands in the way of understanding the Cocoa frameworks.

    For someone new to programming altogether, I recommend learning the Objective-C language with Stephen Kochan’s book. It’s the only one I know of that treats Obj-C as a whole language, rather than assuming prior knowledge of C.

    To get started with Cocoa itself, Aaron Hillegass and Bill Cheeseman both have excellent books. Aaron’s book is the text that he uses to teach his beginning Cocoa seminar, and Bill’s book is a series of small projects, a cookbook approach.

    -jcr

  8. John C. Randolph Tuesday, February 28, 2006

    What is up with this crazy blog app? In my first sentence above, the double plus signs vanished, which completely changes the meaning of what I was trying to say. It was correct in the preview, and then broken when I hit the Submit button.

    I must say, if this is what DHTML is all about, I’m not impressed.

  9. JCR you sure are a crotchety curmudgeon! And you’re totally wrong about all things IT too! Recommending Kochan – oh whoa. Place yourself immediately in the low end of the IQ spectrum. Googling your name turns up someone with a profession of reading RSS feeds all day long and commenting on everyone else’s blogs for hours at end – you’re on cocoadev too which is a real laugh and there you’re ornerier than anywhere – you can’t possibly have gainful employment or if so actually produce anything of merit. All you produce is bile; I reacommend all blogs block you categorically and unconditionally.

    Of course all the above was posted in jest and very lighthearted as opposed to the style of “jcr”.

Comments have been disabled for this post