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


Groups > comp.lang.python > #82044 > unrolled thread

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

Started byMichael Torrie <torriem@gmail.com>
First post2014-12-06 10:29 -0700
Last post2014-12-06 10:29 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromMichael Torrie <torriem@gmail.com>
Date2014-12-06 10:29 -0700
SubjectRe: Tabs for indentation & Spaces for alignment in Python 3?
Message-ID<mailman.16657.1417886958.18130.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web