Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #2610

Re: indenting

From "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org>
Newsgroups comp.programming
References <cb97085e-252e-41d6-94ff-6dfb86d80085@googlegroups.com> <aj268hFjn61U5@mid.individual.net> <4wgclhdxxtw6$.k6vk8kdw6582$.dlg@40tude.net>
Subject Re: indenting
Date 2012-12-15 11:17 +0000
Message-ID <ItedndvRLM86wVHNnZ2dnUVZ8rudnZ2d@bt.com> (permalink)

Show all headers | View raw


Dmitry A. Kazakov wrote:

> Well, there is one argument against tabs. ASCII HT is 8 spaces wide, which
> far too much. This tempts people to change the tab width in the IDE from
> the ASCII standard to 2, 3, 4, whatever, keeping HT in the source. This
> opens gates of hell.

No, that's just Hell's catflap.

Where it goes tits-up is when people mix tabbed and spaced indentation -- then 
that hits absolute bottom when people used spaced indentation to match, say, 
what they see as 4-space tabs, and someone else uses spaced indentation to 
match what /they/ see as 2-spaced tabs.

My advice to the OP.  Use spaces or tabls exclusively: never mix.  If someone 
else mixes, then shoot them.  Do not attempt to warn them first, just blaze 
away...

    -- chris 

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

indenting bob <bob@coolfone.comze.com> - 2012-12-14 13:47 -0800
  Re: indenting Ian Collins <ian-news@hotmail.com> - 2012-12-15 15:40 +1300
    Re: indenting "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2012-12-15 09:10 +0100
      Re: indenting Robert Wessel <robertwessel2@yahoo.com> - 2012-12-15 04:10 -0600
      Re: indenting "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2012-12-15 11:17 +0000
      Re: indenting Rui Maciel <rui.maciel@gmail.com> - 2012-12-15 12:16 +0000
        Re: indenting "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2012-12-15 12:29 +0000
          Re: indenting Ian Collins <ian-news@hotmail.com> - 2012-12-16 08:29 +1300
  Re: indenting rossum <rossum48@coldmail.com> - 2012-12-15 13:23 +0000
  Re: indenting treetaxi <noreply@treetaxi.invalid> - 2012-12-15 19:28 -0700
    Re: indenting Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2012-12-16 20:54 +0100

csiph-web