Difference between revisions of "Talk:Coding Style"

From ReactOS Wiki
Jump to: navigation, search
m
Line 4: Line 4:
 
Using tabs for indentation is simply not acceptable for me. I do most of the editing in plain Notepad which doesn't allow you to set a tab width. Having to use 8-char tabs takes way too much space. I'm not about to change my tools (Notepad) to conform to some arbitrary standard, instead the standard should support all tools.
 
Using tabs for indentation is simply not acceptable for me. I do most of the editing in plain Notepad which doesn't allow you to set a tab width. Having to use 8-char tabs takes way too much space. I'm not about to change my tools (Notepad) to conform to some arbitrary standard, instead the standard should support all tools.
 
Also personally I'd like even single statements embraced in {}, but I can live with that.
 
Also personally I'd like even single statements embraced in {}, but I can live with that.
 +
 +
sedwards:
 +
Yes this bothers me as well. Mainly its the case where someone uses MSVC and sticks tabs all over the places where they really just want four spaces. Of course MSVC defaults to 4 spaces to tab while the rest of the world uses 8 so the code looks unreadable in notepad or less.

Revision as of 20:59, 7 May 2005

We already have Programming_Guidelines

GvG: Using tabs for indentation is simply not acceptable for me. I do most of the editing in plain Notepad which doesn't allow you to set a tab width. Having to use 8-char tabs takes way too much space. I'm not about to change my tools (Notepad) to conform to some arbitrary standard, instead the standard should support all tools. Also personally I'd like even single statements embraced in {}, but I can live with that.

sedwards: Yes this bothers me as well. Mainly its the case where someone uses MSVC and sticks tabs all over the places where they really just want four spaces. Of course MSVC defaults to 4 spaces to tab while the rest of the world uses 8 so the code looks unreadable in notepad or less.