* 2011-07-18T10:54:40+10:00 * Steven D'Aprano wrote:
Back in 2007, a n00b calling himself TheFlyingDutchman who I am
*reasonably* sure was Rick decided to fork Python:
http://mail.python.org/pipermail/python-list/2007-September/1127123.html
I don't know if they are the same person but quite
Steven D'Aprano wrote:
Why 78? Because it's one less than 79, as mandated by PEP 8, and two less
than 80, the hoary old standard.
There's another possible reason for the number 78, although
hopefully it doesn't still apply today.
There's an application I work with that stores free text
in
On Sunday, July 17, 2011 08:24:12 PM Dotan Cohen did opine:
On Sun, Jul 17, 2011 at 17:29, gene heskett ghesk...@wdtv.com wrote:
I'm still looking for the perfect programming font. Suggestions
welcomed.
When you find it Dotan, let me know, I've been looking since the later
'70's.
On 07/17/2011 08:01 PM, Steven D'Aprano wrote:
Roy Smith wrote:
We don't have that problem any more. It truly boggles my
mind that we're still churning out people with 80 column
minds. I'm willing to entertain arguments about readability
of long lines, but the idea that there's something
Bah, when I started programming
on the Apple ][+, we had no
lower-case and a 40-column limit
on the TV display.
Keyboards??? That was a luxery!
We had mechanical switches that one
had to physically push and pull to
enter commands.
And a 40 column display???
Unheard of! We were happy with
Tim Chase python.l...@tim.thechases.com wrote:
On 07/17/2011 08:01 PM, Steven D'Aprano wrote:
Roy Smith wrote:
We don't have that problem any more. It truly boggles my
mind that we're still churning out people with 80 column
minds. I'm willing to entertain arguments about readability
of
Tim Chase wrote:
On 07/17/2011 08:01 PM, Steven D'Aprano wrote:
Roy Smith wrote:
We don't have that problem any more. It truly boggles my
mind that we're still churning out people with 80 column
minds. I'm willing to entertain arguments about readability
of long lines, but the idea that
On Monday, July 18, 2011 09:32:19 AM Tim Chase did opine:
On 07/17/2011 08:01 PM, Steven D'Aprano wrote:
Roy Smith wrote:
We don't have that problem any more. It truly boggles my
mind that we're still churning out people with 80 column
minds. I'm willing to entertain arguments about
Thorsten Kampe thors...@thorstenkampe.de writes:
The perfect programming font is just the one that looks so good that
you would also use it for writing email. Dejavu Sans Mono is pretty
good. Consolas looks also looks good but it is Windows only.
How is Consolas Windows only? Not that I'd
* Anssi Saari (Mon, 18 Jul 2011 19:28:49 +0300)
Thorsten Kampe thors...@thorstenkampe.de writes:
The perfect programming font is just the one that looks so good that
you would also use it for writing email. Dejavu Sans Mono is pretty
good. Consolas looks also looks good but it is
On 18/07/2011 14:52, Duncan Booth wrote:
Tim Chasepython.l...@tim.thechases.com wrote:
On 07/17/2011 08:01 PM, Steven D'Aprano wrote:
Roy Smith wrote:
We don't have that problem any more. It truly boggles my
mind that we're still churning out people with 80 column
minds. I'm willing to
Gregory Ewing wrote:
Anders J. Munch wrote:
Cameron Simpson wrote:
Personally, I like to use the tab _key_ as an input device, but to
have my editor write real spaces to the file in consequence.
Just like in the old days:)
Most editors can be configured to do that.
True.
Where
Anssi Saari wrote:
Thorsten Kampe thors...@thorstenkampe.de writes:
The perfect programming font is just the one that looks so good that
you would also use it for writing email. Dejavu Sans Mono is pretty
good. Consolas looks also looks good but it is Windows only.
How is Consolas Windows
On 01/-10/-28163 02:59 PM, Steven D'Aprano wrote:
Tim Chase wrote:
On 07/17/2011 08:01 PM, Steven D'Aprano wrote:
Roy Smith wrote:
We don't have that problem any more. It truly boggles my
mind that we're still churning out people with 80 column
minds. I'm willing to entertain arguments
Thomas 'PointedEars' Lahn wrote:
I am getting the idea here that you mean the right thing, but that you
explain it wrong.
Feel free to write the much longer essay that explains it all unambiguously, I'm
not going to.
regards, Anders
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Jul 18, 2011 at 02:55, Andrew Berg I think the reason the
idea isn't dead is because of the emergence of
new devices with small displays (tablets/smartphones/etc.) and their
increasing popularity. When writing code that is meant to be run on
desktops or servers, the 80-column limit is
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.18 01:51 PM, Dotan Cohen wrote:
Let me see if I understand: because there exists a possibility that
someone might want (not need) to edit code on a telephone to make a
quick edit to code being interpreted on that machine, _all_
On Tue, Jul 19, 2011 at 5:06 AM, Andrew Berg bahamutzero8...@gmail.com wrote:
Personally, I think that 80 is pretty arbitrary now, and not the best
limit. I'm more comfortable with 120-130 myself. In any case, Python
won't complain about how many characters are on a line, and that's the
way it
In article Xns9F2695C6AAA73duncanbooth@127.0.0.1,
Duncan Booth duncan.booth@invalid.invalid wrote:
Tim Chase python.l...@tim.thechases.com wrote:
On 07/17/2011 08:01 PM, Steven D'Aprano wrote:
Roy Smith wrote:
We don't have that problem any more. It truly boggles my
mind that we're
Andrew Berg bahamutzero8...@gmail.com wrote:
I'm not saying it's wise
Why not?
It just makes it more difficult to follow the pattern when you add new
code. If you have an editor mnaging that for you, then you might as well
have the editor go all tabs or all spaces to avoid trouble.
Vi and
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.16 06:06 PM, Tim Roberts wrote:
That's not true. Python allows tabs and spaces to be used in the
same source file, and even in the same source line.
You're right. TabError is only raised if the initial indentation is
inconsistent.
On Sat, Jul 16, 2011 at 9:09 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Personally, I like to use the tab _key_ as an input device, but to have
my editor write real spaces to the file in consequence. With pure
spaces, the text is laid out reliably for us both. And so I have
* rantingrick (Sat, 16 Jul 2011 09:51:02 -0700 (PDT))
3) Tabs create freedom in the form of user controlled indention.
Indention width should be a choice of the reader NOT the author. We
should never code in indention width; but that is EXACTLY what we
are doing with spaces! No, the reader
On Sun, Jul 17, 2011 at 1:29 AM, Andrew Berg bahamutzero8...@gmail.com wrote:
You're right. TabError is only raised if the initial indentation is
inconsistent.
Not legal:
def spam():
tabprint('Wonderful spam!\n')
4 spacesprint('Bloody Vikings!')
Legal:
def eggs():
tabprint(
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 02:32 AM, Ian Kelly wrote:
Of course, there is also another major problem with tabs that I have
not seen pointed out yet, which is that it's not possible to
strictly adhere to 80-column lines with tabs. I can write my code to
* Andrew Berg (Sat, 16 Jul 2011 19:29:30 -0500)
Of everything I've read on tabs vs. spaces, this is what makes the
most sense to me:
http://www.iovene.com/61/
Interesting one, especially the - from the coder's point of view -
artificial distinction between indentation and alignment.
What is
On Sat, Jul 16, 2011 at 19:51, rantingrick rantingr...@gmail.com wrote:
--
Evidence: Tabs ARE superior!
--
I am also a recent spaces-to-tabs convert. One of the reasons is that
I've discovered that
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 03:15 AM, Dotan Cohen wrote:
programing in a non-fixed width font is a real pleasure
If you're masochistic, maybe. Do you find fixed-width fonts ugly? I
really would like to know why anyone would use a non-fixed-width font
for
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 02:56 AM, Thorsten Kampe wrote:
What is the difference between indentation and alignment? Well,
indentation works with tabs, alignment not.
The use of spaces for indentation is as much of a hack as the use of
tabs for alignment
* Andrew Berg (Sun, 17 Jul 2011 03:36:31 -0500)
Not everyone agrees on how many spaces an indent should be (whether an
indent is a tab or a space-tab), which is a good reason to use tabs.
Not everyone who doesn't agree on indent size actually cares enough
about indent size - especially in
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 04:33 AM, Thorsten Kampe wrote:
Not everyone who doesn't agree on indent size actually cares enough
about indent size - especially in someone else's code. I'd say it's
probably rather the majority making this whole debate
* Andrew Berg (Sun, 17 Jul 2011 05:02:22 -0500)
And if we work on a project together, we have to agree on formatting
anyway, the indent size being the least important one.
How is indent size unimportant with regard to formatting?
Take some code or yours and format it with three and with six
On Sun, Jul 17, 2011 at 11:35, Andrew Berg bahamutzero8...@gmail.com wrote:
programing in a non-fixed width font is a real pleasure
If you're masochistic, maybe. Do you find fixed-width fonts ugly?
I don't find that fixed-width fonts are ugly, but variable-width fonts
sure are more of a
On Jul 17, 4:11 pm, Dotan Cohen dotanco...@gmail.com wrote:
On Sun, Jul 17, 2011 at 11:35, Andrew Berg bahamutzero8...@gmail.com wrote:
programing in a non-fixed width font is a real pleasure
If you're masochistic, maybe. Do you find fixed-width fonts ugly?
I don't find that fixed-width
* Dotan Cohen (Sun, 17 Jul 2011 14:11:40 +0300)
So long as the indentation lines up (which it does, with tabs or
spaces) then I do not see any problem with variable-width.
What are the counter-arguments?
Alignment doesn't line up.
Thorsten
--
Steven D'Aprano wrote:
I can't fathom why 8 position tabs were *ever* the default, let alone why
they are still the default.
That's because they were not invented as a means for programmers to vary
indentation.
Originally, tabs were a navigation device: When you press the tab key, you skip
Thorsten Kampe wrote:
* Andrew Berg (Sun, 17 Jul 2011 05:02:22 -0500)
I still don't understand. Whitespace to the left of an assignment to
signify an indent and whitespace around operators to align values (in
a multi-line assignment) are not the same.
When I'm (consistently, of course)
Dotan Cohen wrote:
On Sat, Jul 16, 2011 at 19:51, rantingrick rantingr...@gmail.com wrote:
--
Evidence: Tabs ARE superior!
--
I am also a recent spaces-to-tabs convert. One of the reasons is
Ian Kelly wrote:
but if somebody later tries to edit the
file using 8-space tabs
I came across this and I like to put a note on top of the script
to remember to modify it accordingly.
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday, July 17, 2011 10:28:16 AM Dotan Cohen did opine:
On Sat, Jul 16, 2011 at 19:51, rantingrick rantingr...@gmail.com wrote:
--
Evidence: Tabs ARE superior!
--
I am also a recent
* Thomas 'PointedEars' Lahn (Sun, 17 Jul 2011 14:35:15 +0200)
Thorsten Kampe wrote:
* Andrew Berg (Sun, 17 Jul 2011 05:02:22 -0500)
I still don't understand. Whitespace to the left of an assignment
to signify an indent and whitespace around operators to align
values (in a multi-line
* gene heskett (Sun, 17 Jul 2011 10:29:03 -0400)
On Sunday, July 17, 2011 10:28:16 AM Dotan Cohen did opine:
I'm still looking for the perfect programming font. Suggestions
welcomed.
When you find it Dotan, let me know, I've been looking since the later
'70's.
The perfect programming
On Jul 17, 2:32 am, Ian Kelly ian.g.ke...@gmail.com wrote:
This. I used to think that tabs were better, for pretty much the
reasons Rick outlined, but I've had enough problems with editors
munging my tabs that I eventually found it simpler in practice to just
go with the flow and use spaces.
Excerpts from Thorsten Kampe's message of Sun Jul 17 11:10:57 -0400 2011:
The perfect programming font is just the one that looks so good that
you would also use it for writing email. Dejavu Sans Mono is pretty
good. Consolas looks also looks good but it is Windows only.
I use inconsolata,
On Jul 17, 2:35 am, Thorsten Kampe thors...@thorstenkampe.de wrote:
* rantingrick (Sat, 16 Jul 2011 09:51:02 -0700 (PDT))
3) Tabs create freedom in the form of user controlled indention.
Indention width should be a choice of the reader NOT the author. We
should never code in indention
On Jul 17, 5:42 am, Thorsten Kampe thors...@thorstenkampe.de wrote:
When I'm (consistently, of course) indenting code, I'm aligning it. When
I'm aligning code, I do this by indenting it, see for instance...
firstvariable = 11
variable = 111
firstvariable = 22
variable = 222
On Mon, Jul 18, 2011 at 2:29 AM, rantingrick rantingr...@gmail.com wrote:
You guys should feel lucky i am not the BDFL, because i would cast
plagues of exceptions on your lazy butts!
BDFL = Benevolent Dictator For Life. Note that first word.
ChrisA
--
On Jul 17, 4:49 am, Anders J. Munch 2...@jmunch.dk wrote:
Originally, tabs were a navigation device: When you press the tab key, you
skip
ahead to the next tab column. The notion that whitespace characters are
inserted into the text would have been very alien to someone using text
On Mon, Jul 18, 2011 at 2:53 AM, rantingrick rantingr...@gmail.com wrote:
[a whole lot of guff]
Rick, you need to:
1) Grab the Python source code
2) Make your own version of Python that works the way you want it
3) Call it something different
4) Start your own mailing list.
Put your money -
On Jul 17, 12:11 pm, Chris Angelico ros...@gmail.com wrote:
On Mon, Jul 18, 2011 at 2:53 AM, rantingrick rantingr...@gmail.com wrote:
[a whole lot of guff]
Rick, you need to:
1) Grab the Python source code
2) Make your own version of Python that works the way you want it
3) Call it
On Mon, Jul 18, 2011 at 3:57 AM, rantingrick rantingr...@gmail.com wrote:
It's funny you mention this because i am creating a specification for
a Python 4000 fork that removes all ambiguities and multiplicity from
the language. Very soon i will be posting the spec for review within
this group.
4) Tabs remove the need for complicated
indention/detention tools.
On 07/17/2011 10:15 AM, rantingrick wrote:
On Jul 17, 2:32 am, Ian Kellyian.g.ke...@gmail.com wrote:
This. I used to think that tabs were better, for pretty
much the reasons Rick outlined, but I've had enough
problems with
* rantingrick (Sun, 17 Jul 2011 10:57:10 -0700 (PDT))
Choose to follow it or die of exceptions; your choice.
One of the best things I've read for a long time :-).
The past is bickering over selfish personal freedoms, the future of is
unity.
And a tab is *exactly* four spaces. Not three. Not
On Sun, Jul 17, 2011 at 9:15 AM, rantingrick rantingr...@gmail.com wrote:
I can write my code to 80
columns using 4-space tabs, but if somebody later tries to edit the
file using 8-space tabs, their lines will be too long.
THEIR LINES is the key words. A tab control is a tab control is a
On Sun, Jul 17, 2011 at 10:29 AM, rantingrick rantingr...@gmail.com wrote:
I hate vertical white-space. I follow Python style guide suggestions,
and then some! I hate when people insert spaces into code blocks and
function/method bodies. If you feel a space must be inserted then that
is a
Thorsten Kampe wrote:
* Thomas 'PointedEars' Lahn (Sun, 17 Jul 2011 14:35:15 +0200)
Thorsten Kampe wrote:
* Andrew Berg (Sun, 17 Jul 2011 05:02:22 -0500)
I still don't understand. Whitespace to the left of an assignment
to signify an indent and whitespace around operators to align
On Sun, Jul 17, 2011 at 14:51, Thorsten Kampe thors...@thorstenkampe.de wrote:
* Dotan Cohen (Sun, 17 Jul 2011 14:11:40 +0300)
So long as the indentation lines up (which it does, with tabs or
spaces) then I do not see any problem with variable-width.
What are the counter-arguments?
On Jul 17, 1:20 pm, Thorsten Kampe thors...@thorstenkampe.de wrote:
The past is bickering over selfish personal freedoms, the future of is
unity.
And a tab is *exactly* four spaces. Not three. Not five. Not eight. For
you, for me, and for the rest of the world. Amen!
Not *exactly*.
A tab
On Sun, Jul 17, 2011 at 15:53, Thomas 'PointedEars' Lahn
pointede...@web.de wrote:
I am also a recent spaces-to-tabs convert. One of the reasons is that
I've discovered that programing in a non-fixed width font is a real
pleasure, but the spaces are too narrow. Tabs alleviate that.
Not using
On Sun, Jul 17, 2011 at 17:29, gene heskett ghesk...@wdtv.com wrote:
I'm still looking for the perfect programming font. Suggestions
welcomed.
When you find it Dotan, let me know, I've been looking since the later
'70's.
Hey there Gene! Are you not on every mailing list on the internet old
* Dotan Cohen (Sun, 17 Jul 2011 22:20:15 +0300)
On Sun, Jul 17, 2011 at 14:51, Thorsten Kampe thors...@thorstenkampe.de
wrote:
* Dotan Cohen (Sun, 17 Jul 2011 14:11:40 +0300)
So long as the indentation lines up (which it does, with tabs or
spaces) then I do not see any problem with
On Sun, Jul 17, 2011 at 20:57, rantingrick rantingr...@gmail.com wrote:
Such a system of rigorous formatting rules requires much less
interpreter logic. Python will be leaner and meaner. There won't be
any more arguing about how to format code. There will only be one way;
the correct way!
On Sun, Jul 17, 2011 at 21:20, Thorsten Kampe thors...@thorstenkampe.de wrote:
The past is bickering over selfish personal freedoms, the future of is
unity.
And a tab is *exactly* four spaces. Not three. Not five. Not eight. For
you, for me, and for the rest of the world. Amen!
Four is the
I'm still looking for the perfect programming font. Suggestions
welcomed.
When you find it Dotan, let me know, I've been looking since the later
'70's.
For me, it's Terminus* (from sourceforge).
Br.
Waldek
[*] As long as you don't need anything but iso8859-1.
--
Anders J. Munch wrote:
Steven D'Aprano wrote:
I can't fathom why 8 position tabs were *ever* the default, let alone
why they are still the default.
That's because they were not invented as a means for programmers to vary
indentation.
Originally, tabs were a navigation device: When you
On Jul 17, 1:22 pm, Tim Chase python.l...@tim.thechases.com wrote:
Solution: STOP USING BROKEN TOOLS!!!
Unbroken tools that do anything worthwhile are usually
complicated tools.
Just pointing that out in case you missed the irony...
You make a good point, albeit a very well know point.
Dotan Cohen wrote:
On Sun, Jul 17, 2011 at 15:53, Thomas 'PointedEars' Lahn
[…] I do not understand how you can consider using a non-fixed-width
font in programming a real pleasure as many them show a lot of
ambiguities in source code. Take for example the lowercase l (el) vs.
the capital
On Jul 17, 1:48 pm, Ian Kelly ian.g.ke...@gmail.com wrote:
Let me get this straight. You want us to use tabs so that individuals
can set their tab width to however many spaces they want, but then you
want everybody to set their tab widths to 4 spaces. You're
contradicting yourself here.
In
On Jul 17, 1:54 pm, Ian Kelly ian.g.ke...@gmail.com wrote:
On Sun, Jul 17, 2011 at 10:29 AM, rantingrick rantingr...@gmail.com wrote:
I hate vertical white-space. I follow Python style guide suggestions,
and then some! I hate when people insert spaces into code blocks and
function/method
On Jul 17, 2:34 pm, Thorsten Kampe thors...@thorstenkampe.de wrote:
Indentation alignment will (because you're using only spaces). Otherwise
it doesn't align (it can't), simply because of the variable-width.
For instance (in a variable-width font):
if a == b:
var123 = 22
On Sun, Jul 17, 2011 at 22:53, Thomas 'PointedEars' Lahn
pointede...@web.de wrote:
It simply isn't an issue.
Apparently it is *has not been* an issue for *you* *yet*. There are
languages (like Python) that are compiled just-in-time. Besides, neither an
IDE nor a compiler can (always)
On Sun, Jul 17, 2011 at 1:54 PM, rantingrick rantingr...@gmail.com wrote:
On Jul 17, 1:48 pm, Ian Kelly ian.g.ke...@gmail.com wrote:
Let me get this straight. You want us to use tabs so that individuals
can set their tab width to however many spaces they want, but then you
want everybody to
Anders J. Munch wrote:
Cameron Simpson wrote:
Personally, I like to use the tab _key_ as an input device, but to have
my editor write real spaces to the file in consequence.
Just like in the old days:)
Most editors can be configured to do that.
Where they fall down, in my experience,
On 17Jul2011 09:53, rantingrick rantingr...@gmail.com wrote:
| On Jul 17, 4:49 am, Anders J. Munch 2...@jmunch.dk wrote:
| Originally, tabs were a navigation device: When you press the tab key, you
skip
| ahead to the next tab column. The notion that whitespace characters are
| inserted into
On Sun, Jul 17, 2011 at 2:12 PM, rantingrick rantingr...@gmail.com wrote:
On the face of it one might think vertical tabs are a good idea
however newlines work just fine. There is no reason for expanding
vertical whitespace to create readble code. If you can offer a good
reason i'm listening.
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 03:12 PM, rantingrick wrote:
I can tell you one thing for sure. In MY version of Python everyone
will have a voice. That does not mean that EVERYONE will make the
final decision but EVERYONE's voice will be equally important.
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 11:46 AM, rantingrick wrote:
Why do you feel the need to layout your code in a GUI-listview
manner. Next you'll want column titles and column sorting... Jeez!
This is what you should have done...
I was testing my psychic
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 06:29 PM, Roy Smith wrote:
We don't have that problem any more. It truly boggles my mind that
we're still churning out people with 80 column minds. I'm willing
to entertain arguments about readability of long lines, but the
In article mailman.1196.1310946970.1164.python-l...@python.org,
Andrew Berg bahamutzero8...@gmail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 06:29 PM, Roy Smith wrote:
We don't have that problem any more. It truly boggles my mind that
we're still
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 07:28 PM, Roy Smith wrote:
Can you give me a more specific example? I assume there's nobody (at
least nobody sane) editing Python source code on iPhones.
I haven't done it myself, but there are plenty of Python projects out
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
I should also mention that this mostly speculation on my part, and that
I would love to hear from someone who develops for these devices.
- --
CPython 3.2.1 | Windows NT 6.1.7601.17592 | Thunderbird 5.0
PGP/GPG Public Key ID: 0xF88E034060A78FCB
Chris Angelico wrote:
On Mon, Jul 18, 2011 at 2:53 AM, rantingrick rantingr...@gmail.com
wrote:
[a whole lot of guff]
Rick, you need to:
1) Grab the Python source code
2) Make your own version of Python that works the way you want it
3) Call it something different
4) Start your own
Andrew Berg wrote:
I should also mention that this mostly speculation on my part, and that
I would love to hear from someone who develops for these devices.
There's a mailing list for Python scripting on Android --
List-Subscribe: http://groups.google.com/group/python-for-
Roy Smith wrote:
We don't have that problem any more. It truly boggles my mind that
we're still churning out people with 80 column minds. I'm willing to
entertain arguments about readability of long lines, but the idea that
there's something magic about 80 columns is hogwash.
I agree!
Andrew Berg wrote:
I should also mention that this mostly speculation on my part, and that
I would love to hear from someone who develops for these devices.
There's a mailing list for Python scripting on Android --
List-Subscribe: http://groups.google.com/group/python-for-
Steven D'Aprano wrote:
Roy Smith wrote:
We don't have that problem any more. It truly boggles my mind that
we're still churning out people with 80 column minds. I'm willing to
entertain arguments about readability of long lines, but the idea that
there's something magic about 80 columns
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.17 07:54 PM, Steven D'Aprano wrote:
Then in 2010, Rick promised that if the Python developers didn't bow
to his demands, he would folk Python, and the silent majority who
agreed with him but were too terrified to say so publicly
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
The exception is, you have an indented block of code, perhaps three or four
indents deep (surely you never allow anything to get beyond five or six
indents?), and you want to raise an exception:
raise
On Sat, Jul 16, 2011 at 9:51 AM, rantingrick rantingr...@gmail.com wrote:
--
Summary
--
As we all know python allows us to use either tabs or spaces but NEVER
both in the same source file. And
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.16 11:51 AM, rantingrick wrote:
-- Evidence: Tabs ARE
superior! --
That may be the case (for indentation, NOT alignment), but you're
rantingrick rantingr...@gmail.com wrote:
As we all know python allows us to use either tabs or spaces but NEVER
both in the same source file.
That's not true. Python allows tabs and spaces to be used in the same
source file, and even in the same source line.
I'm not saying it's wise, but it
On 16Jul2011 09:51, rantingrick rantingr...@gmail.com trolled:
| Evidence: Tabs ARE superior!
| --
| I have begun to believe that tabs are far more superior to spaces
Please Rick: you need at least three things to use the term more
superior. With
On Sat, Jul 16, 2011 at 4:52 PM, Cameron Simpson c...@zip.com.au wrote:
Well to some extent because I share files with
another who uses 4 position tabs. Editing these is a real nightmare if
one uses 8 position tabs (as I do, the common editor/terminal default
these days).
8's been the
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.16 06:52 PM, Cameron Simpson wrote:
Only for leading indentation, not following indentation. Consider
docstrings and other stuff with embedded fixed witdh layout.
I try to avoid aligning things unless not doing it really hurts
On Sun, Jul 17, 2011 at 9:52 AM, Cameron Simpson c...@zip.com.au wrote:
| Programming languages MUST have rules or
| ambiguities will run a muck and bring the entire system crashing down.
Amuck is one word you know...
Yes, but maybe he's wanting to run a MUCK. It's quite possible; I run
a
On 16Jul2011 19:29, Andrew Berg bahamutzero8...@gmail.com wrote:
| Of everything I've read on tabs vs. spaces, this is what makes the most
| sense to me:
| http://www.iovene.com/61/
Makes sense to me. Thanks for the URL. Cheers,
--
Cameron Simpson c...@zip.com.au DoD#743
Andrew Berg wrote:
I try to avoid aligning things unless not doing it really hurts
readability for that reason. For example, in most of my source files, I
use tabs to indent. Since Python won't allow a mix of tabs and spaces
(for whitespace) on one line, I don't try to align things:
else:
Cameron Simpson wrote:
On 16Jul2011 09:51, rantingrick rantingr...@gmail.com trolled:
| Evidence: Tabs ARE superior!
| --
| I have begun to believe that tabs are far more superior to spaces
Please Rick: you need at least three things to use
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.16 10:07 PM, Steven D'Aprano wrote:
Hilariously, in my newsreader, the first example (allegedly
unaligned) was lined up as straight as an arrow,
It has consistent indentation, but the self.whatever references aren't
aligned.
The
On Sun, Jul 17, 2011 at 08:39, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
I have reluctantly come to do the same thing. There is a plethora of broken
tools out there that don't handle tabs well, and consequently even though
tabs for indentation are objectively better, I use
1 - 100 of 101 matches
Mail list logo