Click here to Skip to main content
15,885,546 members

Survey Results

Soft tabs (spaces) or Hard tabs (CHAR(9)) in your source code?   [Edit]

Survey period: 21 Jun 2010 to 28 Jun 2010

Religous wars have been fought over lesser topics. (Suggested by Kornman00)

OptionVotes% 
Hard, always38442.76
Soft, always31935.52
Hard in some files, soft in others, using a consistent rule717.91
No preference12413.81



 
Generalartystic style always.... Pin
El Corazon21-Jun-10 8:08
El Corazon21-Jun-10 8:08 
GeneralRe: artystic style always.... Pin
hfrmobile28-Jun-10 23:35
hfrmobile28-Jun-10 23:35 
GeneralTab(2) Consistent Inconsistency Pin
W Balboos, GHB21-Jun-10 4:53
W Balboos, GHB21-Jun-10 4:53 
JokeHard, always... Pin
Smithers-Jones21-Jun-10 4:25
Smithers-Jones21-Jun-10 4:25 
GeneralRe: Hard, always... Pin
PIEBALDconsult21-Jun-10 18:05
mvePIEBALDconsult21-Jun-10 18:05 
GeneralNo preference... Pin
Nemanja Trifunovic21-Jun-10 4:05
Nemanja Trifunovic21-Jun-10 4:05 
GeneralRe: No preference... Pin
Don Driskell21-Jun-10 9:06
Don Driskell21-Jun-10 9:06 
GeneralVaries Pin
PIEBALDconsult21-Jun-10 2:35
mvePIEBALDconsult21-Jun-10 2:35 
For C and C# I use SPACEs (always), but for DCL I use a TAB followed by SPACEs -- so my labels are obvious.


On the other hand, this is another of those bad questions. I believe the survey has it backward; I would say that a TAB character is soft because you don't know how wide it will appear, whereas using SPACEs is hard because they will not vary in width. Respondants who don't read the question may answer wrong, the results will be meaningless.
GeneralRe: Varies Pin
Don Driskell21-Jun-10 9:05
Don Driskell21-Jun-10 9:05 
GeneralRe: Varies Pin
Geoff Field21-Jun-10 12:48
Geoff Field21-Jun-10 12:48 
GeneralI am a fast typist Pin
Ennis Ray Lynch, Jr.21-Jun-10 2:30
Ennis Ray Lynch, Jr.21-Jun-10 2:30 
GeneralRe: I am a fast typist Pin
peterchen23-Jun-10 2:25
peterchen23-Jun-10 2:25 
GeneralRe: I am a fast typist Pin
Ennis Ray Lynch, Jr.23-Jun-10 2:41
Ennis Ray Lynch, Jr.23-Jun-10 2:41 
GeneralRe: I am a fast typist Pin
peterchen23-Jun-10 11:53
peterchen23-Jun-10 11:53 
GeneralTabs Pin
RugbyLeague21-Jun-10 0:52
RugbyLeague21-Jun-10 0:52 
GeneralVisual Studio... PinPopular
Jouke van der Maas20-Jun-10 21:37
Jouke van der Maas20-Jun-10 21:37 
GeneralRe: Visual Studio... Pin
Dude2221-Jun-10 13:51
Dude2221-Jun-10 13:51 
GeneralRe: Visual Studio... Pin
13xforever21-Jun-10 18:28
13xforever21-Jun-10 18:28 
GeneralRe: Visual Studio... Pin
Jouke van der Maas22-Jun-10 1:36
Jouke van der Maas22-Jun-10 1:36 
GeneralRe: Visual Studio... Pin
hfrmobile28-Jun-10 23:44
hfrmobile28-Jun-10 23:44 
GeneralWTF tabs ;/ Pin
radioman.lt20-Jun-10 19:28
radioman.lt20-Jun-10 19:28 
GeneralRe: WTF tabs ;/ Pin
Don Driskell21-Jun-10 9:02
Don Driskell21-Jun-10 9:02 
GeneralRe: WTF tabs ;/ Pin
hfrmobile28-Jun-10 23:45
hfrmobile28-Jun-10 23:45 
GeneralHard tabs (CHAR(4)) Pin
Md. Marufuzzaman20-Jun-10 18:49
professionalMd. Marufuzzaman20-Jun-10 18:49 
GeneralRe: Hard tabs (CHAR(4)) Pin
leppie20-Jun-10 19:26
leppie20-Jun-10 19:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.