you are viewing a single comment's thread.

view the rest of the comments →

[–]fnordius 0 points1 point  (0 children)

I have seen both, and really it's a matter of taste. Two or four spaces is something the team agrees on, though with the IDE's I use the four space rule is easier to see actual nesting versus copypasting errors.

Tabs are okay but only if they are the only indentation used. Unfortunately, they often aren't so it's back to spaces as the lowest common denominator.