Click here to Skip to main content
15,884,298 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



 
GeneralRe: Soft tabs may be better Pin
Blubbo25-Jun-10 5:08
Blubbo25-Jun-10 5:08 
GeneralRe: Soft tabs may be better Pin
hfrmobile28-Jun-10 22:53
hfrmobile28-Jun-10 22:53 
GeneralCommon format Tabs / Space Pin
leiricho21-Jun-10 22:47
leiricho21-Jun-10 22:47 
GeneralRe: Common format Tabs / Space Pin
PIEBALDconsult23-Jun-10 18:09
mvePIEBALDconsult23-Jun-10 18:09 
GeneralRe: Common format Tabs / Space Pin
leiricho23-Jun-10 20:55
leiricho23-Jun-10 20:55 
GeneralRe: Common format Tabs / Space Pin
PIEBALDconsult24-Jun-10 2:57
mvePIEBALDconsult24-Jun-10 2:57 
GeneralHard Always Pin
Kunal Chowdhury «IN»21-Jun-10 22:46
professionalKunal Chowdhury «IN»21-Jun-10 22:46 
GeneralRe: Hard Always Pin
W Balboos, GHB24-Jun-10 1:16
W Balboos, GHB24-Jun-10 1:16 
It's just as easy to use spaces: you tell the IDE to substitute spaces (the appropriate number: I prefer 2 instead of 4). You'll need to press the backspace key more if you delete - but that's easily circumvented by not making mistakes.

If you've ever opened your code in another editor, you'll often be treated to a horror show of by using tabs.










/xml>
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein

"As far as we know, our computer has never had an undetected error." - Weisert

"If you are searching for perfection in others, then you seek dissappointment. If you are searching for perfection in yourself, then you seek failure." - Balboos HaGadol Mar 2010

GeneralRe: Hard Always Pin
Daniel 'Tak' M.27-Jun-10 2:23
Daniel 'Tak' M.27-Jun-10 2:23 
GeneralRe: Hard Always Pin
hfrmobile28-Jun-10 22:58
hfrmobile28-Jun-10 22:58 
GeneralDiff is the key Pin
sellinger21-Jun-10 21:09
sellinger21-Jun-10 21:09 
GeneralRe: Diff is the key Pin
hfrmobile28-Jun-10 23:02
hfrmobile28-Jun-10 23:02 
GeneralWhere is the generally, but its not such a big deal. Pin
KenJohnson21-Jun-10 18:41
KenJohnson21-Jun-10 18:41 
GeneralRe: Where is the generally, but its not such a big deal. Pin
hfrmobile28-Jun-10 23:06
hfrmobile28-Jun-10 23:06 
Generalformatters Pin
Donsw21-Jun-10 12:33
Donsw21-Jun-10 12:33 
JokeTabs? We don't need .... Pin
Chris Meech21-Jun-10 8:39
Chris Meech21-Jun-10 8:39 
GeneralRe: Tabs? We don't need .... Pin
Don Driskell21-Jun-10 9:07
Don Driskell21-Jun-10 9:07 
JokeRe: Tabs? We don't need .... Pin
Nemanja Trifunovic21-Jun-10 9:11
Nemanja Trifunovic21-Jun-10 9:11 
GeneralRe: Tabs? We don't need .... Pin
Chris Meech21-Jun-10 9:17
Chris Meech21-Jun-10 9:17 
GeneralRe: Tabs? We don't need .... Pin
Xiangyang Liu 刘向阳21-Jun-10 9:36
Xiangyang Liu 刘向阳21-Jun-10 9:36 
GeneralRe: Tabs? We don't need .... Pin
RichardM121-Jun-10 16:13
RichardM121-Jun-10 16:13 
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 

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.