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


Groups > comp.lang.python > #42904

Re: I hate you all

References (4 earlier) <95b2bc1c-57a2-48c9-85ea-cf1004c9e26c@googlegroups.com> <mailman.173.1365208512.3114.python-list@python.org> <515fad75$0$32109$14726298@news.sunsite.dk> <mailman.188.1365227638.3114.python-list@python.org> <515fc72c$0$32106$14726298@news.sunsite.dk>
From Joshua Landau <joshua.landau.ws@gmail.com>
Date 2013-04-06 11:17 +0100
Subject Re: I hate you all
Newsgroups comp.lang.python
Message-ID <mailman.197.1365243468.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 6 April 2013 07:56, Timothy Madden <terminatorul@gmail.com> wrote:

> On 06.04.2013 08:53, Ian Kelly wrote:
>
>> On Fri, Apr 5, 2013 at 11:07 PM, Timothy Madden <terminatorul@gmail.com>
>> wrote:
>>
> [...]
>
>> So in other words, everybody must be forced to use 8-character tabs
>> because you want to be able to mix tabs and spaces.
>>
>>  People say I can use tabs all the way, just set them to the indent I
>>> want.
>>>
>>> Well, I always had my indent independent of the tab size. Which is the
>>> way
>>> it should be, after all, since one can indent with or without tabs, so
>>> indent should not be tied to them.
>>>
>>> But now I can not; python no longer lets me do that.
>>>
>>
>> Honestly, I really don't understand why you *want* to do that.  If
>> your indentation is 4 characters, then that would be the natural tab
>> width to use.  If you're not going to tie your indent to your tabs,
>> then why even use tabs in the first place?
>>
>>  The new rules may look flexible at first sight, but the net effect they
>>> have
>>> is they push me to use non-default tab size (which is not good),
>>>
>>
>> What makes that not good?  There is no law anywhere that says tabs are
>> 8 characters.  That's just an arbitrary amount that looked appropriate
>> to the people designing the first teletypes.
>>
>
> I am aware that 7 bytes per tab character (or 14/28, in UTF-16, UTF-32!)
> will not justify the time spent debating.
>
> The reason I want to use tabs is that I think there is nothing wrong with
> them.
>

So use them


> The reason why everybody should use 8-character tabs is so that I and the
> rest of the world can use `grep` / `findstr` on their code, and still see
> lines of code properly aligned in the terminal. Or to be able to print
> fragments of code as plain text only, and get the proper alignment.
>

Oh thanks. I liked using my four character tabs, but I guess you *are* so
important that I'm going to have to change everything I do just for you.
It's obviously not good enough for you just to not mix tabs and spaces so
that we can both enjoy ourselves because that would make *you*, the holiest
of all, have to put some effort in. No, I totally understand and will now
go and change everything after Python is changed to break hundreds of files
of codes for you.


> But most importantly, the reason that tab size should be 8 is so that all
> of us people in this world can freely exchange formatted text like source
> code without having to first consider if "will it look the same in their
> editor ? What tab size do they use ?"
>

Hrm. Hrm. Hrrrrmmm.

Hrrrrmmmm.

No, you're right: spaces are totally not for this in any way and that
no-one has ever made this point before and who the hell cares if you're
reading code with a different indent size anyway it's not like it affects
the actual code.

Yours frustratedly,

Joshua Landau

----------------------------------------------------------------------------------------------------------------

But seriously, please at least look like you've read other people's posts.
It doesn't matter what tabstop you use as long as you don't mix. If your
code depends on tab size then it's categorically wrong. Other people's tab
sizes are as valid. I use tabs because of the variation it lets me have - I
can switch tab sizes on the fly - and it's faster on "dumb" editors. So let
me do that.

But let us assume we were going to standardise on TAB == 8 SPACES. It would
*still* be bad to mix tabs and spaces. Hence you'd change Python in exactly
0 ways. So *what do you want from us*?

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