On 04/17/10 16:20, Gregory Ewing wrote:
> Steven D'Aprano wrote:
>> On Wed, 14 Apr 2010 22:10:28 +0200, Hans Mulder wrote:
>>
>>
Anybody who invents another brace-delimited language should be beaten.
You always end up with a big problem trying to make sure the braces are
consistent w
Steven D'Aprano wrote:
On Wed, 14 Apr 2010 22:10:28 +0200, Hans Mulder wrote:
Anybody who invents another brace-delimited language should be beaten.
You always end up with a big problem trying to make sure the braces are
consistent with the program logic.
Anybody who invents another programm
On Wed, 14 Apr 2010 22:10:28 +0200, Hans Mulder wrote:
>> Anybody who invents another brace-delimited language should be beaten.
>> You always end up with a big problem trying to make sure the braces are
>> consistent with the program logic.
>
> Anybody who invents another programming language sh
On Apr 14, 1:10 pm, Hans Mulder wrote:
> Grant Edwards wrote:
> > On 2010-04-09, Lawrence D'Oliveiro
> > wrote:
> >> In message <4bbf6eb8$0$1670$742ec...@news.sonic.net>, John Nagle wrote:
>
> >>> Lawrence D'Oliveiro wrote:
>
> In message ,
> Gabriel Genellina wrote:
>
> > If you o
Grant Edwards wrote:
On 2010-04-09, Lawrence D'Oliveiro wrote:
In message <4bbf6eb8$0$1670$742ec...@news.sonic.net>, John Nagle wrote:
Lawrence D'Oliveiro wrote:
In message ,
Gabriel Genellina wrote:
If you only reindent the code (without adding/removing lines) then you
can compare the co
On 2010-04-11, Lawrence D'Oliveiro wrote:
> The problem isn?t that it?s ?incorrectly? indented, it?s two
> different pieces of code (correctly) indented according to two
> different conventions, and how you reconcile them without introducing
> logic errors into the code.
I've never run into that
Lawrence D'Oliveiro wrote:
>> The same goes for indentation. In python it's not possible to write
>> a program to correctly indent code that isn't alaready correctly
>> indented.
>
> The problem isnât that itâs âincorrectlyâ indented, itâs two
> different pieces of code (correctly) i
In message , Grant Edwards wrote:
> On 2010-04-10, Lawrence D'Oliveiro
> wrote:
>
>> In message , Grant Edwards wrote:
>>
>>> On 2010-04-10, Lawrence D'Oliveiro
>>> wrote:
>>>
In message , Grant Edwards wrote:
> Anybody who invents another brace-delimited language should be beaten.
In message <87sk73jxl0@benfinney.id.au>, Ben Finney wrote:
> What happens whe you're trying to reconcile two different
> block-delimiter conventions?
For example?
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 10, 5:10 am, Lawrence D'Oliveiro wrote:
> In message <18988a53-e88f-4abf-
>
> a83a-314b16653...@x12g2000yqx.googlegroups.com>, Patrick Maupin wrote:
> > I want nothing to do with any programmer who would mis-indent their
> > code.
>
> But what happens when you’re trying to reconcile two dif
On 2010-04-10, Lawrence D'Oliveiro wrote:
> In message , Grant Edwards wrote:
>
>> On 2010-04-10, Lawrence D'Oliveiro
>> wrote:
>>
>>> In message , Grant Edwards wrote:
>>>
Anybody who invents another brace-delimited language should be beaten.
You always end up with a big problem trying
I'm interested that you are holding what appear to be contradictory
arguments, and don't seem to apply each one to the other. Let me take
the latest expressions of these and show how they can apply equally in
either direction:
Lawrence D'Oliveiro writes:
> But what happens when you’re trying to
In message , Grant Edwards wrote:
> On 2010-04-10, Lawrence D'Oliveiro
> wrote:
>
>> In message , Grant Edwards wrote:
>>
>>> Anybody who invents another brace-delimited language should be beaten.
>>> You always end up with a big problem trying to make sure the braces
>>> are consistent with the
In message <18988a53-e88f-4abf-
a83a-314b16653...@x12g2000yqx.googlegroups.com>, Patrick Maupin wrote:
> I want nothing to do with any programmer who would mis-indent their
> code.
But what happens when you’re trying to reconcile two different indentation
conventions? In Python, there can be pro
On Sat, 10 Apr 2010 10:31:58 +1200, Lawrence D'Oliveiro wrote:
> In message <4bbf6eb8$0$1670$742ec...@news.sonic.net>, John Nagle wrote:
>
>> Lawrence D'Oliveiro wrote:
>>
>>> In message ,
>>> Gabriel Genellina wrote:
>>>
If you only reindent the code (without adding/removing lines) then
>>
On Apr 9, 5:31 pm, Lawrence D'Oliveiro wrote:
> >> Anybody who ever creates another indentation-controlled language should
> >> be beaten to death with a Guido van Rossum voodoo doll.
>
> > No ...
>
> Yes, because otherwise you wouldn’t have stupid problems like the one which
> is preoccupying
On 2010-04-10, Lawrence D'Oliveiro wrote:
> In message , Grant Edwards wrote:
>
>> Anybody who invents another brace-delimited language should be beaten.
>> You always end up with a big problem trying to make sure the braces
>> are consistent with the program logic.
> Would you prefer ???begin???
In message , Grant Edwards wrote:
> Anybody who invents another brace-delimited language should be beaten.
> You always end up with a big problem trying to make sure the braces
> are consistent with the program logic.
Would you prefer “begin” and “end” word symbols, then?
--
http://mail.python.o
On 2010-04-09, Lawrence D'Oliveiro wrote:
> In message <4bbf6eb8$0$1670$742ec...@news.sonic.net>, John Nagle wrote:
>
>> Lawrence D'Oliveiro wrote:
>>
>>> In message ,
>>> Gabriel Genellina wrote:
>>>
If you only reindent the code (without adding/removing lines) then you
can compare the
In message <4bbf6eb8$0$1670$742ec...@news.sonic.net>, John Nagle wrote:
> Lawrence D'Oliveiro wrote:
>
>> In message ,
>> Gabriel Genellina wrote:
>>
>>> If you only reindent the code (without adding/removing lines) then you
>>> can compare the compiled .pyc files (excluding the first 8 bytes tha
Lawrence D'Oliveiro wrote:
In message , Gabriel
Genellina wrote:
If you only reindent the code (without adding/removing lines) then you can
compare the compiled .pyc files (excluding the first 8 bytes that contain
a magic number and the source file timestamp). Remember that code objects
contai
On Wed, Apr 7, 2010 at 5:35 PM, Lawrence D'Oliveiro <@> wrote:
> In message , Gabriel
> Genellina wrote:
>
>> If you only reindent the code (without adding/removing lines) then you can
>> compare the compiled .pyc files (excluding the first 8 bytes that contain
>> a magic number and the source file
In message , Gabriel
Genellina wrote:
> If you only reindent the code (without adding/removing lines) then you can
> compare the compiled .pyc files (excluding the first 8 bytes that contain
> a magic number and the source file timestamp). Remember that code objects
> contain line number informat
In message , Tom Evans
wrote:
> I've written a bunch of internal libraries for my company, and they
> all use two space indents, and I'd like to be more consistent and
> conform to PEP-8 as much as I can.
“A foolish consistency is the hobgoblin of little minds”
— Ralph Waldo Emerson
--
http
On 2010-04-07 11:06 AM, Tom Evans wrote:
On Wed, Apr 7, 2010 at 4:10 PM, geremy condra wrote:
On Wed, Apr 7, 2010 at 10:53 AM, Tom Evans wrote:
[ Please keep me cc'ed, I'm not subscribed ]
Hi all
I've written a bunch of internal libraries for my company, and they
all use two space indents,
On Wed, Apr 7, 2010 at 4:10 PM, geremy condra wrote:
> On Wed, Apr 7, 2010 at 10:53 AM, Tom Evans wrote:
>> [ Please keep me cc'ed, I'm not subscribed ]
>>
>> Hi all
>>
>> I've written a bunch of internal libraries for my company, and they
>> all use two space indents, and I'd like to be more con
En Wed, 07 Apr 2010 11:53:58 -0300, Tom Evans
escribió:
[ Please keep me cc'ed, I'm not subscribed ]
Sorry; you may read this at
http://groups.google.com/group/comp.lang.python/
I've written a bunch of internal libraries for my company, and they
all use two space indents, and I'd like
En Wed, 07 Apr 2010 11:53:58 -0300, Tom Evans
escribió:
[ Please keep me cc'ed, I'm not subscribed ]
Sorry; you may read this at
http://groups.google.com/group/comp.lang.python/
I've written a bunch of internal libraries for my company, and they
all use two space indents, and I'd like
On 2010-04-07, Tom Evans wrote:
> [ Please keep me cc'ed, I'm not subscribed ]
Sorry. I post via gmane.org, so cc'ing you would require some extra
work, and I'm too lazy.
> I've written a bunch of internal libraries for my company, and they
> all use two space indents, and I'd like to be more c
On Wed, Apr 7, 2010 at 10:53 AM, Tom Evans wrote:
> [ Please keep me cc'ed, I'm not subscribed ]
>
> Hi all
>
> I've written a bunch of internal libraries for my company, and they
> all use two space indents, and I'd like to be more consistent and
> conform to PEP-8 as much as I can.
>
> My proble
[ Please keep me cc'ed, I'm not subscribed ]
Hi all
I've written a bunch of internal libraries for my company, and they
all use two space indents, and I'd like to be more consistent and
conform to PEP-8 as much as I can.
My problem is I would like to be certain that any changes do not alter
the
31 matches
Mail list logo