Click here to Skip to main content
15,890,512 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Tabs versus spaces: Spaces won Pin
_Maxxx_9-Mar-12 19:00
professional_Maxxx_9-Mar-12 19:00 
GeneralRe: Tabs versus spaces: Spaces won Pin
Clifford Nelson10-Mar-12 6:09
Clifford Nelson10-Mar-12 6:09 
GeneralRe: Tabs versus spaces: Spaces won Pin
_Maxxx_9-Mar-12 15:16
professional_Maxxx_9-Mar-12 15:16 
GeneralRe: Tabs versus spaces: Spaces won Pin
Clifford Nelson10-Mar-12 6:07
Clifford Nelson10-Mar-12 6:07 
GeneralRe: Tabs versus spaces: Spaces won Pin
Lutosław9-Mar-12 11:33
Lutosław9-Mar-12 11:33 
GeneralRe: Tabs versus spaces: Spaces won Pin
_Maxxx_9-Mar-12 13:33
professional_Maxxx_9-Mar-12 13:33 
GeneralRe: Tabs versus spaces: Spaces won Pin
PIEBALDconsult9-Mar-12 15:41
mvePIEBALDconsult9-Mar-12 15:41 
GeneralRe: Tabs versus spaces: Spaces won Pin
_Maxxx_9-Mar-12 18:53
professional_Maxxx_9-Mar-12 18:53 
PIEBALDconsult wrote:
That depends on the tool.

Yes, it does. And if you are using stone age tools, then sure, your particular standards will vary (6 character variable names, all upper case etc.)
but we're talking standards here, not archaeology.


PIEBALDconsult wrote:
Have you tried setting the tabs on a VT100

yes, I have. not for a long time, but yes, I have.


PIEBALDconsult wrote:
here are historical reasons for using SPACEs.

Again, yes there are, and if your shop needs to edit code using tools that can't display tabs, then obviously your standards should be not to use tabs.
if you're shop uses black and white (or black and green, or even black and amber) text monitors, then you better not be using any sort of colorisation either.




PIEBALDconsult wrote:
If you insist on TABs you'd better hope to never encounter code from last century.


why? If I need to edit code that does not allow the use of tabs, then standards are a rather moot point! If it is code that didn't use tabs when it was written well, I have a choice - live with it or convert to tabs (there's a rather neat VS tool that will do it for you)

in short, there are advantages to using tabs (personal preference of layout is easy to achieve with minimal effort, less keytrokes) that, I think, make it an obvious standard, unless in an individual's circumstance it is not possible (e.g. you need to edit the code using vi) in which case it is not possible to use the superior method.
MVVM# - See how I did MVVM my way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011

.\\axxx
(That's an 'M')

NewsButtons were an inspired UI hack, but now we've got better options Pin
Terrence Dorsey8-Mar-12 10:57
sitebuilderTerrence Dorsey8-Mar-12 10:57 
GeneralRe: Buttons were an inspired UI hack, but now we've got better options Pin
Clifford Nelson8-Mar-12 19:28
Clifford Nelson8-Mar-12 19:28 
NewsProgrammers Can Be Artists Pin
Terrence Dorsey8-Mar-12 10:57
sitebuilderTerrence Dorsey8-Mar-12 10:57 
News10 things I hate about Git Pin
Terrence Dorsey8-Mar-12 10:56
sitebuilderTerrence Dorsey8-Mar-12 10:56 
GeneralRe: 10 things I hate about Git Pin
Clifford Nelson8-Mar-12 19:33
Clifford Nelson8-Mar-12 19:33 
GeneralRe: 10 things I hate about Git Pin
Lutosław9-Mar-12 11:47
Lutosław9-Mar-12 11:47 
NewsApple A5X and the great quad-core confusion, explained Pin
Terrence Dorsey8-Mar-12 10:56
sitebuilderTerrence Dorsey8-Mar-12 10:56 
NewsGetting in Touch: We Go Hands-On With the New Apple iPad Pin
Terrence Dorsey8-Mar-12 10:55
sitebuilderTerrence Dorsey8-Mar-12 10:55 
GeneralRe: Getting in Touch: We Go Hands-On With the New Apple iPad Pin
Clifford Nelson8-Mar-12 19:34
Clifford Nelson8-Mar-12 19:34 
NewsThe Personal Analytics of My Life Pin
Terrence Dorsey8-Mar-12 10:54
sitebuilderTerrence Dorsey8-Mar-12 10:54 
NewsQWERTY effect: How typing may shape meaning of words Pin
Terrence Dorsey8-Mar-12 10:54
sitebuilderTerrence Dorsey8-Mar-12 10:54 
NewsTurncoat hackers: a brief history of snitching in high-tech dragnets Pin
Terrence Dorsey8-Mar-12 10:53
sitebuilderTerrence Dorsey8-Mar-12 10:53 
NewsThe problem with Metro is it’s hard to differentiate Pin
Terrence Dorsey8-Mar-12 10:53
sitebuilderTerrence Dorsey8-Mar-12 10:53 
NewsA Coder Interview With Chris Sells Pin
Terrence Dorsey7-Mar-12 10:02
sitebuilderTerrence Dorsey7-Mar-12 10:02 
NewsOptimizing Apps for Lower Cost Devices Pin
Terrence Dorsey7-Mar-12 10:01
sitebuilderTerrence Dorsey7-Mar-12 10:01 
NewsSQL.js: SQLite Compiled to JavaScript via Emscripten Pin
Terrence Dorsey7-Mar-12 10:00
sitebuilderTerrence Dorsey7-Mar-12 10:00 
NewsDark Matter Developers: The Unseen 99% PinPopular
Terrence Dorsey7-Mar-12 10:00
sitebuilderTerrence Dorsey7-Mar-12 10:00 

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.