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


Groups > comp.lang.python > #82044

Re: Tabs for indentation & Spaces for alignment in Python 3?

Date 2014-12-06 10:29 -0700
From Michael Torrie <torriem@gmail.com>
Subject Re: Tabs for indentation & Spaces for alignment in Python 3?
References <CAFaCOgzqxcvuKBrcSkK+DRm-5pHuh6QCXi1PKG4LHGqdBjLF_A@mail.gmail.com> <m5tpqg$iqi$1@ger.gmane.org> <54827250.5060907@gmail.com> <dab9ca01-6f52-4186-8576-d295cdccbd90@email.android.com>
Newsgroups comp.lang.python
Message-ID <mailman.16657.1417886958.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 12/06/2014 10:12 AM, Simon Ward wrote:

> Not every programmer is as conscientious in the first of place, and
> that's far easier to get wrong than just agreeing to stick to one
> thing. This is why (often more rigid) style guides (or rather
> policies) exist.

Sure, but in the world of braces languages, reformatting crappy code is
fairly trivial

> Maybe we should sack such programmers regardless of their other
> abilities instead of forcing all, including the conscientious,
> programmers to adhere to strict style policies? While I like the
> idea, I think that a slap on the wrist and a bit of
> re-indentation/re-alignment is all that is necessary (although I have
> worked with people who consider pure style changes to be a sin too).

I suppose if an employee continually submits commits that violate the
coding standard after being asked time and again to not do that, and is
too lazy to run his code through GNU indent probably should be fired.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Tabs for indentation & Spaces for alignment in Python 3? Michael Torrie <torriem@gmail.com> - 2014-12-06 10:29 -0700

csiph-web