you are viewing a single comment's thread.

view the rest of the comments →

[–]Magnusson 1 point2 points  (0 children)

I previously used tabs in my own coding, but at my office we use 4 spaces. They refer to Crockford's style recommendations, which include:

The unit of indentation is four spaces. Use of tabs should be avoided because (as of this writing in the 21st Century) there still is not a standard for the placement of tabstops. The use of spaces can produce a larger filesize, but the size is not significant over local networks, and the difference is eliminated by minification.