I use tabs. No, but seriously, what I do is adjust the indent size to the appropriate prime number corresponding to the day of the week: Monday = 2; Tuesday = 3; Wednesday = 5; Thursday = 7; Friday = 11. This makes it easier to determine which day of the week any given section of code was edited on. I also like to eat soup with chopsticks.
Alexey ________________________________ From: Chris Koerner <[email protected]> To: [email protected] Sent: Tue, May 17, 2011 2:54:51 PM Subject: [The Java Posse] How many characters do you use for indention? Long ago I used 3 white spaces for indention, then when I worked in Ruby it was 2 characters for indention, now PHP people are using 4 characters for indention. If you have an existing codebase, follow whatever convention they used (if they did) (or if the language forces it, ala Python). But what do you prefer to use? I would have said 2, but now 4 is looking rather nice. (anyone who mentions they use tabs, please line up against the back wall) -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
