Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Why not enforce four space indentations in version 3.x?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Inky 788  
View profile  
 More options Jul 16 2009, 9:32 am
Newsgroups: comp.lang.python
From: Inky 788 <inky...@gmail.com>
Date: Thu, 16 Jul 2009 06:32:34 -0700 (PDT)
Local: Thurs, Jul 16 2009 9:32 am
Subject: Re: Why not enforce four space indentations in version 3.x?
On Jul 10, 7:35 pm, Ben Finney <ben+pyt...@benfinney.id.au> wrote:

> walterbyrd <walterb...@iname.com> writes:
> > I believe Guido himself has said that all indentions should be four
> > spaces - no tabs.

> Yes. That's a “should” and not a “must”, even though PEP 8 says it
> with a simple imperative::

>     Use 4 spaces per indentation level.

That actually sounds pretty weird. "Don't do {foo}. Really, I mean
*really* don't do {foo}. Oh, also, the interpreter allows you to do
{foo}. But don't do it! I mean it!".

Very ... perlish, if you ask me.

I realize that a small portion of the community likes the tabs.
They're sold on the tabs. They like the tabs. But tabs are an archaic
holdover from an era when typewriters had physical tabstops on them.
Actually, after *that* they're a holdover from a program called `make`
whose designers unfortunately decided to use tab "characters" to
prefix commands. The tab is vestigial. Your text editor can treat 4
consecutive spaces as a unit if you wish. Let tabs go away. Stop using
them. If your editor keeps irrationally inserting them, make it stop.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.