View Single Post
Old 09-03-2007, 11:47 PM   #12 (permalink)
Zuuljin
So there's this plane on a treadmill...
 
Zuuljin's Avatar
 
Join Date: Jan 2005
Location: Southern California
Posts: 2,908
+4 Internets
Send a message via AIM to Zuuljin
Eclipse might be a little too good for beginners. Its auto-pilot for alot of stuff. I'd say if your just learning, stick with the text-editor or any basic interface until you know whats going on.

To answer your question (even though its already been answered, but I thought i'd contribute), spaces/tabs/blank lines is all preference and is not enforced in the code at all. The compiler completely ignores it all. The reason for spacing is readability. Generally, the /tab thing is the most important, and everything else is user preference, such as some people like putting the { directly after a method such as
Code:
myMethod() { //stuff }
instead of on the next line as in

Code:
myMethod() { //stuff }
I prefer the latter as it seems to frame the code better, but noone will yell at you for doing it the other way.
Zuuljin is offline   Reply With Quote

 
Uberguilds Network