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

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
wow. right to the point.

In turn:
I would start with C.
There are some tutorials on http://www.cprogramming.com.
Someone else will need to recommend a good book for beginners.
Once you get into it, "The C Programming Language" by Kernighan and Ritchie.
For tools, I would stick to gcc at the terminal for compiling, gdb at the terminal for debugging, and a text-editor of your choosing. I like vim at the terminal.

You will get about as many things telling you that what I've said is totally wrong as there will be people who agree, but this is where I would want to start if I had to do it again.

-Lee
 

Chris Corbyn

macrumors newbie
Jun 28, 2008
17
0
Melbourne, Australia
I'd agree. I think two languages which put in a great position to quickly grasp other languages are C and Java. Learn C first to get to grips with using a statically typed language, memory management, compiling, linking and debugging. Learn Java to get to grips with object-oriented programming and study design patterns inside out while you're at it. Play with JUnit and jMock or EasyMock to get a grip on TDD, then come back to C-related technologies and have a go at Objective-C and C++.

If you've never programmed at all in any language I definitely think C is a good base to venture out from, although the learning curve is steep!

EDIT | Java is also often seen as a generic language which is understood by most programmers and so is often used in many non-language-specific books for code examples.
 

liptonlover

macrumors 6502a
Mar 13, 2008
989
0
I'm going to get it out of the way and say it now-you shouldn't have even created this thread. If you looked a little ways into the pages of threads here you would have found loads of threads asking the same exact thing. In fact when I saw this thread I thought I was looking at one of the old ones because the names are almost identical. Some people here are picky about that, so now you know :cool: That being said...

go to cocoalab.com and go through their becomeanxcoder pdf book. It's free, assumes you have no programming knowledge, is very good, (I have "understanding" issues but I had no problems) and will get you started with Cocoa and C and Objective C, and make you very excited.

Go to bignerdranch.com and buy "Cocoa Programming for Mac OS X". It is not the best written book in the world, it can be hard to understand. But with online resources like this website for help, you will get through it. And it's great for referring back to as well. Finally it's good because you don't have to do the examples to learn. I find it easier to just read the lessons without a computer in front of me. It's easier to concentrate, and I find it easier to take it slowly instead of rushing through.

That's my 2 cents...

Oh yeah one thing: DON'T LEARN BASIC!!!
 

Cromulent

macrumors 604
Oct 2, 2006
6,816
1,101
The Land of Hope and Glory
Another good book that might ease the transition to "The C Programming Language" is "Pointers on C", which concentrates on pointers (surprisingly enough). Rather good book too, might be hard to find though as it was written in '94 / '95 I think.
 

yeroen

macrumors 6502a
Mar 8, 2007
944
2
Cambridge, MA
Another good book that might ease the transition to "The C Programming Language" is "Pointers on C", which concentrates on pointers (surprisingly enough). Rather good book too, might be hard to find though as it was written in '94 / '95 I think.

bloody expensive too...best to borrow it from somewhere and photocopy it.
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
it's because it's a textbook and published by Addison-Wesley. It's criminal what they charge. If you're in a college town it might be available used, though it would still be $82 knowing campus bookstores.

-Lee
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.