Results 1 to 6 of 6
Thread: Formatting Java Code
- 09-18-2010, 03:27 PM #1
Formatting Java Code
How do you format your PHP code...
Do you use Tabs or Spaces to indent?
And by how many positions do you indents?
1 position?
2 positions?
4 positions?
Other?
I think a standard line is 80 characters, so I'm starting to wonder if using a 4-position indent is too much?!
(It is easier to read than a 2-position indent, but also seems to waste space?!)
I am using NetBeans as an IDE, and it allows you to change whether us use Tabs or Spaces to indent, and by how much you indent.
What do you do and why?
Thanks,
Debbie
- 09-18-2010, 03:40 PM #2
Strange question for a java programming forum.How do you format your PHP code
- 09-18-2010, 07:13 PM #3
Cross posted (without the typo)
Formatting Java Code (Java in General forum at JavaRanch)
db
- 09-18-2010, 07:22 PM #4
-
- 09-18-2010, 10:33 PM #6
Similar Threads
-
Formatting java command line output - Multi line string
By dricco in forum New To JavaReplies: 2Last Post: 07-02-2010, 02:20 PM -
Need help formatting output and some code
By A5i19 in forum New To JavaReplies: 6Last Post: 11-09-2009, 04:58 AM -
Convert java code to midlet code
By coldvoice05 in forum New To JavaReplies: 1Last Post: 08-12-2009, 11:14 AM -
Convert java code to midlet code
By coldvoice05 in forum Advanced JavaReplies: 1Last Post: 08-09-2009, 01:21 PM -
formatting..
By sireesha in forum New To JavaReplies: 16Last Post: 06-26-2009, 07:11 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks