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


Groups > comp.lang.python > #43093

Re: I hate you all

From Walter Hurry <walterhurry@lavabit.com>
Newsgroups comp.lang.python
Subject Re: I hate you all
Date 2013-04-08 21:25 +0000
Organization albasani.net
Message-ID <kjvcjk$c21$1@news.albasani.net> (permalink)
References (6 earlier) <pan.2013.04.06.13.52.44.838000@nowhere.com> <mailman.200.1365258042.3114.python-list@python.org> <5160cc44$0$29995$c3e8da3$5496439d@news.astraweb.com> <pan.2013.04.08.18.43.51.130000@nowhere.com> <kjv6v9$ddm$1@reader1.panix.com>

Show all headers | View raw


On Mon, 08 Apr 2013 19:48:58 +0000, Grant Edwards wrote:

> On 2013-04-08, Nobody <nobody@nowhere.com> wrote:
>> On Sun, 07 Apr 2013 01:30:45 +0000, Steven D'Aprano wrote:
>>
>>> Am I the only one here who has used a typewriter?
>>> 
>>> Tab stops were set manually, to a physical distance into the page,
>>> using a mechanical stop. This long predates the "rule" that tab stops
>>> are every 8 characters.
>>
>> And your point is?
> 
> The point is that there is little historical precedent for assuming that
> tab stops are evenly and equally spaced across the page (let alone one
> particular fixed, even spacing) -- and people who mix spaces and tabs
> based on such false assumptions are responsible for their own bleeding
> foot.
> 
>> Typewriters don't have a tab "character". The information regarding tab
>> stops is conveyed out-of-band from the typist to the typewriter, and
>> doesn't need to persist beyond the time taken to type the document.
> 
> And the same is true when you don't mix tabs and spaces when indenting
> Python code.  If you use tabs alone when indenting Python code it
> doesn't matter where the tabs are set -- they don't even have to be
> equally spaced -- the meaning of the source file is unambiguous.
> 
> If you mix tabs and spaces, then you've got to provide out-of-band
> information regarding the position of the tab stops in order to make the
> source code unambiguous.  Since there's no mechanism to provide that OOB
> tab stop info, mixed tabs and spaces isn't accepted.

Personally I have always used 4 spaces. I use it in SQL, shell scripts 
and Python. It makes code simple to read, and unambiguous.

The fact of Python enforcing it (or all tabs; a poor second choice) is *a 
good thing*, easy and natural IMHO. No need for "end if" or "end loop" or 
"fi". One wonders whether OP is simply trolling.  

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


Thread

I hate you all terminatorul@gmail.com - 2013-04-05 14:41 -0700
  Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-06 08:53 +1100
  Re: I hate you all John Gordon <gordon@panix.com> - 2013-04-05 21:55 +0000
    Re: I hate you all terminatorul@gmail.com - 2013-04-05 15:04 -0700
      Re: I hate you all Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-05 17:28 -0500
      Re: I hate you all Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-05 16:42 -0600
        Re: I hate you all terminatorul@gmail.com - 2013-04-05 17:22 -0700
          Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-06 11:35 +1100
            Re: I hate you all Timothy Madden <terminatorul@gmail.com> - 2013-04-06 08:07 +0300
              Re: I hate you all Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-04-05 22:28 -0700
              Re: I hate you all Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-05 23:53 -0600
                Re: I hate you all Timothy Madden <terminatorul@gmail.com> - 2013-04-06 09:56 +0300
                Re: I hate you all Joshua Landau <joshua.landau.ws@gmail.com> - 2013-04-06 11:17 +0100
                Re: I hate you all Timothy Madden <terminatorul@gmail.com> - 2013-04-06 17:22 +0300
                Re: I hate you all Grant Edwards <invalid@invalid.invalid> - 2013-04-06 15:30 +0000
                Re: I hate you all Roland Koebler <r.koebler@yahoo.de> - 2013-04-08 00:52 +0200
              Re: I hate you all Michael Torrie <torriem@gmail.com> - 2013-04-05 23:59 -0600
                Re: I hate you all Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-06 06:19 +0000
              Re: I hate you all Michael Torrie <torriem@gmail.com> - 2013-04-05 23:49 -0600
          Re: I hate you all Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-05 19:50 -0500
          Re: I hate you all Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-06 02:07 +0000
          Re: I hate you all Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-05 21:53 -0600
            Re: I hate you all Timothy Madden <terminatorul@gmail.com> - 2013-04-06 08:36 +0300
              Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-06 16:44 +1100
              Re: I hate you all Michael Torrie <torriem@gmail.com> - 2013-04-05 23:58 -0600
                Re: I hate you all Timothy Madden <terminatorul@gmail.com> - 2013-04-06 10:07 +0300
              Re: I hate you all Ethan Furman <ethan@stoneleaf.us> - 2013-04-05 23:00 -0700
                Re: I hate you all Grant Edwards <invalid@invalid.invalid> - 2013-04-06 15:37 +0000
                Re: I hate you all Roy Smith <roy@panix.com> - 2013-04-06 11:49 -0400
              Re: I hate you all Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-06 06:55 +0000
              Re: I hate you all Larry Hudson <orgnut@yahoo.com> - 2013-04-06 13:17 -0700
                Re: I hate you all Timothy Madden <terminatorul@gmail.com> - 2013-04-07 14:37 +0300
            Re: I hate you all Nobody <nobody@nowhere.com> - 2013-04-06 14:52 +0100
              Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-07 01:20 +1100
                Re: I hate you all Timothy Madden <terminatorul@gmail.com> - 2013-04-06 17:37 +0300
                Re: I hate you all Roy Smith <roy@panix.com> - 2013-04-06 11:01 -0400
                Re: I hate you all Neil Cerutti <neilc@norwich.edu> - 2013-04-06 15:15 +0000
                Re: I hate you all Grant Edwards <invalid@invalid.invalid> - 2013-04-06 15:41 +0000
                Re: I hate you all rusi <rustompmody@gmail.com> - 2013-04-06 09:00 -0700
                Re: I hate you all Roy Smith <roy@panix.com> - 2013-04-06 11:59 -0400
                Re: I hate you all Neil Cerutti <neilc@norwich.edu> - 2013-04-06 18:48 +0000
                Re: I hate you all rusi <rustompmody@gmail.com> - 2013-04-06 08:31 -0700
                Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-07 07:29 +1000
                Re: I hate you all Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-07 01:38 +0000
                Re: I hate you all Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-07 01:30 +0000
                Re: I hate you all Roy Smith <roy@panix.com> - 2013-04-06 22:15 -0400
                Re: I hate you all Jason Friedman <jsf80238@gmail.com> - 2013-04-06 20:42 -0600
                Re: I hate you all Nobody <nobody@nowhere.com> - 2013-04-08 19:43 +0100
                Re: I hate you all Grant Edwards <invalid@invalid.invalid> - 2013-04-08 19:48 +0000
                Re: I hate you all Walter Hurry <walterhurry@lavabit.com> - 2013-04-08 21:25 +0000
                Re: I hate you all Grant Edwards <invalid@invalid.invalid> - 2013-04-08 21:29 +0000
                Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-09 08:00 +1000
                Re: I hate you all Walter Hurry <walterhurry@lavabit.com> - 2013-04-08 22:51 +0000
                Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-09 08:57 +1000
                Re: I hate you all Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-09 09:33 +0100
                Re: I hate you all Grant Edwards <invalid@invalid.invalid> - 2013-04-09 13:39 +0000
                Re: I hate you all Tim Chase <python.list@tim.thechases.com> - 2013-04-09 09:17 -0500
                Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-10 00:20 +1000
                Re: I hate you all Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-09 16:51 +0100
                Re: I hate you all Walter Hurry <walterhurry@lavabit.com> - 2013-04-09 21:09 +0000
                Re: I hate you all Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-09 23:09 +0100
                Re: I hate you all Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-09 23:21 +0000
                Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-10 09:28 +1000
                Re: I hate you all Walter Hurry <walterhurry@lavabit.com> - 2013-04-09 23:50 +0000
                Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-10 10:31 +1000
                Re: I hate you all Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-10 02:00 +0000
                Re: I hate you all Chris Angelico <rosuav@gmail.com> - 2013-04-10 12:14 +1000
                Re: I hate you all Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-10 00:39 +0100
                Re: I hate you all Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-10 00:41 +0100
                Re: I hate you all Grant Edwards <invalid@invalid.invalid> - 2013-04-09 21:43 +0000
                Re: I hate you all Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-09 02:51 +0000
                Re: I hate you all rusi <rustompmody@gmail.com> - 2013-04-08 21:06 -0700
                Re: I hate you all rusi <rustompmody@gmail.com> - 2013-04-08 21:52 -0700
                Re: I hate you all Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-09 05:19 +0000
          Re: I hate you all "Günther Dietrich" <gd.usenet@spamfence.net> - 2013-04-06 14:55 +0200
        Re: I hate you all terminatorul@gmail.com - 2013-04-05 17:22 -0700
      Re: I hate you all Isaac To <isaac.to@gmail.com> - 2013-04-06 06:35 +0800
      Re: I hate you all Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-05 17:00 -0600
  Re: I hate you all Dylan Evans <dylan@dje.me> - 2013-04-06 14:28 +1000
    Re: I hate you all terminatorul@gmail.com - 2013-04-05 22:13 -0700
      Re: I hate you all Dylan Evans <dylan@dje.me> - 2013-04-07 13:00 +1000
        Re: I hate you all Timothy Madden <terminatorul@gmail.com> - 2013-04-07 14:44 +0300
          Re: I hate you all Ethan Furman <ethan@stoneleaf.us> - 2013-04-07 11:12 -0700
            Re: I hate you all Roy Smith <roy@panix.com> - 2013-04-07 14:33 -0400
    Re: I hate you all terminatorul@gmail.com - 2013-04-05 22:13 -0700
  Re: I hate you all Grant Edwards <invalid@invalid.invalid> - 2013-04-06 15:27 +0000
    Re: I hate you all Roy Smith <roy@panix.com> - 2013-04-06 11:58 -0400
  Re: I hate you all Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-07 19:25 +0100

csiph-web