The problem is that different editors have different standard interpretations of TAB stops: Emacs and most Unix-oriented editors default TAB stops to 8, and Visual Studio and others to 4, and individual programmers change this for other reasons. This would mean code would have different interpretations under different editors.

The norm is to use an editor where TABs can be used to column-align text but where the TAB characters themselves are automatically replaced by spaces. Visual Studio and Emacs can be configured like this.

Cheers!

Don

By on 12/18/2006 5:14 PM ()

surely the only problem here comes when tabs and spaces
are used interchangeably. a less draconian rule would be to allow
either all tabs OR all spaces, but not a mix of the two.

as someone who prefers to use single-tab indentation, that would make
me happier!

By on 9/28/2007 7:32 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper