Page 1 of 3
 1  2 3  >
Reply
   
 Coding. Where to start? 
 
 
  #1 (permalink)  
Old 27-10-2007, 09:12 PM
Regular

Join Date: Oct 2007
Group: Regulars
Location: Melbourne Metro
Posts: 554


Coding. Where to start?

Hey,
so basically iv never had anything but macs my whole life. I like them their superior. I think that the mac community makes the best apps round. Now iv recently become interested in coding. All i know so far is that coding = Making an application/script/whatever. I get confused the minute anyone even mentions anything technical. I would like to start to produce my own products, but have no idea were to start, i have Xcode and thus far all i can do with it is sit there and look puzzeled. can someone give me a heads up on coding and a run down of the basic steps so I (the future) have some were to start. I have an idea of a product I would like to make but have no idea how to implement it. I would appreciate any help what so ever. I realize that this is probably biggest thing to ask of you but it will pay of eventually when you get to be apart of the worlds best application beta . cheers
Lachie is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #2 (permalink)  
Old 27-10-2007, 09:21 PM
Regular

Join Date: Jan 2005
Group: Regulars
Location: Wellington, NSW
Posts: 1,264


Do you have any programming experience at all?
__________________
Think government propaganda: It's only bad when the other party does it!
feeze is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #3 (permalink)  
Old 27-10-2007, 09:26 PM
Regular

Join Date: Nov 2006
Group: Regulars
Location: Melbourne
Posts: 997


Quote:
Originally Posted by iLach View Post
Hey,
so basically iv never had anything but macs my whole life. I like them their superior. I think that the mac community makes the best apps round. Now iv recently become interested in coding. All i know so far is that coding = Making an application/script/whatever. I get confused the minute anyone even mentions anything technical. I would like to start to produce my own products, but have no idea were to start, i have Xcode and thus far all i can do with it is sit there and look puzzeled. can someone give me a heads up on coding and a run down of the basic steps so I (the future) have some were to start. I have an idea of a product I would like to make but have no idea how to implement it. I would appreciate any help what so ever. I realize that this is probably biggest thing to ask of you but it will pay of eventually when you get to be apart of the worlds best application beta . cheers
sounds like im in the same boat as you. I'd really like to know this.

two sites were pointed out to me on this forum for cocoa. Havent looked at them yet but they are:

http://www.cocoalab.com/

and

http://www.stanford.edu/class/cs193e/
Nathanh is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #4 (permalink)  
Old 27-10-2007, 09:32 PM
Regular

Join Date: Oct 2007
Group: Regulars
Location: Melbourne Metro
Posts: 554


Quote:
Originally Posted by feeze View Post
Do you have any programming experience at all?
short answer: NO
long answer: absolutely NOT

But hey, you have to start some were rigtht?

iv force changed a desktop picture, using the terminal if that counts?
Lachie is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #5 (permalink)  
Old 27-10-2007, 09:40 PM
Regular

Join Date: Jan 2005
Group: Regulars
Location: Smirnoff county
Posts: 809


First thing you should learn is about programming basics like:
conditional statements (if... else)
loops (while,do...while,for, etc)

THEN THE MOST IMPORTANT:
Buy a book or take a course on program design.
I have seen a lot of really good coders write absolutely crap programs simply because they were badly designed and ended up becoming unmanageable (including myself).

The other thing you should do is learn a bit about relational databases and data modelling basics.

Then onto a bit of SQL.

A lot to learn LOL, I'm still learning. I am now doing Java programming and I am lucky to be in a Mac friendly workplace.

Anyways, good luck with it, the world needs some decent programmers
__________________
"The Toaster": White 2.0GHz C2D Macbook 2GB/250GB(Mothership)/SD, LEOPARD
"iTouchMeBabe": 16GB iPod Touch, 1.1.4 FW
"Smirnoff": G4 450MHz Sawtooth, Debian 4.0 PPC
BiRDBRAiN is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #6 (permalink)  
Old 27-10-2007, 09:43 PM
Regular

Join Date: Apr 2005
Group: Regulars
Location: Canberra, Australia
Posts: 694


Get a book. Work on lots of practice applications before you start on your dream app. If you start your dream before you have the experience you'll only become frustrated with it.

Some people suggest learning C first. I don't think that's strictly necessary if you get a good book. Unfortunately, I can't recommend any as I started Cocoa programming after having a fair bit of experience with other languages and object-oriented programming.
Silver is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #7 (permalink)  
Old 27-10-2007, 09:46 PM
Super

Join Date: Oct 2004
Group: Regulars
Location: Somewhere Slaying Vampires
Posts: 6,084


Buy the cocoa bible - http://www.bookware.com.au/cgi-bin/bookware/0321213149
iSlayer is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #8 (permalink)  
Old 27-10-2007, 09:50 PM
Regular

Join Date: May 2004
Group: Regulars
Location: Brisbane
Posts: 1,433


Also, try the developer documentation that comes with xcode, there's a fair bit of info there.

there's a nice little ebook you can get for free on using xcode, here: http://www.cocoalab.com/BecomeAnXcoder.pdf
__________________
I have no successful trades
the_OM is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #9 (permalink)  
Old 27-10-2007, 09:58 PM
woot

Join Date: Feb 2004
Group: Administrators
Location: Fukuoka, Japan (originally Canberra)
Posts: 7,966


A good start is something like UNIX for Dummies, as it shows you how to work in the Terminal. From that, you learn about shell scripting and the like, which is a great intro.
__________________
The question you're about to ask me or post in MacTalk Community is answered in the Forum Rules & FAQ.
As men, however, make little effort to exercise their intellect, or imagine that they possess knowledge before they really learn, the consequence is that they never begin to have knowledge..."
—Emmanuel
Currawong is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #10 (permalink)  
Old 27-10-2007, 10:57 PM
Member

Join Date: Nov 2004
Group: Regulars
Posts: 83


Register at ADC online it's free & there's plenty of useful resources to get you started
Captain Stathi is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
Huy
  #11 (permalink)  
Old 27-10-2007, 11:52 PM
It's a cruel, cruel summer

Join Date: Jul 2005
Group: Regulars
Location: NSW
Posts: 4,769


I started out with Java, then learnt C.
This is how it is at USYD.
You then move onto C++.

In the process you learn other things such as UNIX shell scripting, SQL and then depending on the subjects, you learn things like PHP, AJAX, .NET and other things...

Start with the basics first though, as someone suggested. I started with Java for a year (uni, two first year courses).
Huy is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #12 (permalink)  
Old 28-10-2007, 12:25 AM
Regular

Join Date: Oct 2007
Group: Regulars
Location: Melbourne Metro
Posts: 554


Quote:
Originally Posted by Huy View Post
C++, UNIX shell scripting, SQL and then depending on the subjects, you learn things like PHP, AJAX, .NET and other things...
these are the thing that i would like help with! i dont know what SQL is nor shell incrypting.

im going to bed now, PS dont forget to set your clocks one hour FORWARD!
Lachie is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #13 (permalink)  
Old 28-10-2007, 12:49 AM
Regular

Join Date: Apr 2005
Group: Regulars
Location: S37°56.2' E145°07.6'
Posts: 556


Quote:
Originally Posted by iLach View Post
these are the thing that i would like help with!
So go get some books as people have suggested, and start reading. When you get stuck, and have made some attempt by yourself to get unstuck, you should ask for help.

We're going to be able to help you when you get stuck. We are not going to be able to teach you how to program. Your earlier posts seem to show some confusion about what is actually involved. We can't just tell you the "magic words" that will allow a program to fall fully formed from your mind into an Xcode project.

Find some books, take a TAFE course or get a bachelors degree in either Computer Science or Software Engineering. Feel free to ask questions when you get stuck.
toholio is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
  #14 (permalink)  
Old 28-10-2007, 01:03 AM
Regular

Join Date: Apr 2005
Group: Regulars
Location: Sydney
Posts: 166


Quote:
Originally Posted by BiRDBRAiN View Post
First thing you should learn is about programming basics like:
conditional statements (if... else)
loops (while,do...while,for, etc)

THEN THE MOST IMPORTANT:
Buy a book or take a course on program design.
I have seen a lot of really good coders write absolutely crap programs simply because they were badly designed and ended up becoming unmanageable (including myself).
I concur.
Having spent the last 9 1/2 years of my life working with a 25+ year old database application, I am painfully aware of how important design is. Of course the other side of the coin is "don't get caught up in design hell".

This is some of my favourite code:

Code:
Q N R,Q,C,D,E,W,B,G,H,S,T,U,V,F,L,P,N,J,A S N=$G(N),Q='N,F=Q+Q,P=F+F,W=$L($T(Q)) 
 S W=$E(W,Q),S='N_+N,W=W-F*S,L=$G(L),R=$C(Q_F_P),R(F)=$C(F+Q_F),R(P)=$C(W-F) W # 
 S T=$E($T(Q+F),F,W\S)_$C(W+S+F) X T S B=$P(T,$C(P_P),F),C=B\(W*W),D=B-(C*W*W)\W 
 F G=S-Q:F:S+F+Q S E=B-(C*W*W+(D*W)),H=$E($T(Q),G),@H=$S(@H<S:'Q,Q:N)_@H,T=C_D_E 
 F A=Q:Q:W\S S J=$E(T,A),C(F)=$S(J>(F+Q)&(J<(S-F)):Q,Q:+N),C(P)=$S(J#F:Q,Q:+N) D 
 .S C(Q)=$S(J<(S-F):+N,Q:Q),C(F+Q)=$S(J>Q&(J<(S-F))&(J'=(P+'L))&(J'=(P)):Q,Q:+N ) 
 .S H('L)=L F  S H(N?.E)=$O(C(H('$G(N)))) Q:H('+L)=L  S F(A,H('L))=C(H(W[(W\S))) 
 F U=Q:Q:P W !,R F V=Q:Q:P+F W $S(F(V,U):'Q,Q:$C(P_(W\S))) W:'(V#F) $C('N_F_F+F) 
 W !!,R(F)_C_R(P)_D_R(P)_E_R(F) X $RE($E($T(Q),Q+F,P+Q))_R(P)_'N W # G:N=L Q+F Q
Jolyon is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
Huy
  #15 (permalink)  
Old 28-10-2007, 01:05 AM
It's a cruel, cruel summer

Join Date: Jul 2005
Group: Regulars
Location: NSW
Posts: 4,769


If you don't know, find out. Nobody will be there to spoonfeed you (sorry, it's true!). Do a bit of research, look through some tutorials or basic sites to familiarise yourself and build upon that.

Basically... the only way to become good is to practice, read a lot, understand the material, practice, practice... try your hand at different scenarios/problems and look for patterns etc.

Start small, a "hello world" program for example will even help!
Huy is offline
Profile CardPM
Go to the top of the page
Digg this Post!Add Post to del.icio.us Share on Facebook
Reply With Quote
 
Page 1 of 3
 1  2 3  >
Reply

Thread Tools

 
Similar Threads
 
Thread Thread Starter Forum Replies Last Post
Region coding and new Macbooks remhh Notebooks 13 21-12-2007 04:01 PM
Email coding vid Mac OS X & All Software 8 19-10-2005 12:53 PM
html coding Jimbo Projects: Audio, Graphics, Video, HTPC and Programming 22 18-02-2005 08:38 AM