Andy Sy wrote:
> Actually a couple of the responses on this newsgroup
> have settled the question for me. I did learn something
> new by engaging in this holy war.
>
>
> Tabs need not be evil, but ONLY if they are used in one
> particular way:
>
> If you really mu
achates wrote:
> Yeah - we've got to the repeating ourselves stage.
Actually a couple of the responses on this newsgroup
have settled the question for me. I did learn something
new by engaging in this holy war.
Tabs need not be evil, but ONLY if they are used in one
particular way:
If you rea
Carl J. Van Arsdall wrote:
>> Next major objection then, how can one practically use 'tabs as
>> semantic indentation' without screwing up formatting of code like
>> the below??
>>
>>
>> def sqlcall():
>> cursor.execute('select id, item, amount, field4, field5, field6'+
>>
Ed Singleton wrote:
> On 5/15/06, Brian Quinlan <[EMAIL PROTECTED]> wrote:
>> The problem with tabs is that people use tabs for alignment e.g.
>>
>> def foo():
>>->query = """SELECT *
>>-> -> -> FROM sometable
>>-> -> -> WHERE condition"""
>>
>> Now I change my editor to use 8-
achates wrote:
> Andy Sy:
>> Code with anything other than 8-space tabs will *NEVER* display
>> properly using everyday unix utilities such as less and cat.
>
> less -x does what you want.
>
Ok, that tip certainly counts for something. This is
definitely going to
Sybren Stuvel wrote:
>> then WHAT THE HECK do you need to use tab characters in the source
>> code for anyway (besides saving a measly few bytes) ??!?
>
> To separate layout (how much indentation is used) from semantics (how
> many intentation levels).
Like I said, you'll *NEVER* get that fancy s
achates wrote:
> Andy Sy
>
>> I guess this *REALLY* is how a misguided tab user exercises his 'logic':
>> Syntax replication (e.g. so-called 'argument construction') is enough,
>> semantics don't matter.
>
> That's quite amusing.. yo
Peter Decker wrote:
> On 5/17/06, Andy Sy <[EMAIL PROTECTED]> wrote:
>> Peter Decker wrote:
>>> On 5/17/06, Andy Sy <[EMAIL PROTECTED]> wrote:
>>>
>>>> If tabs are easily misunderstood, then they are a MISfeature
>>>> and they n
Peter Decker wrote:
> Spaces look like crap, too, when using proportional fonts.
... and people who would even think that using proportional
fonts for viewing/editing source code is anywhere remotely
near being a good idea ...
That's an even more advanced version of the i-think-tabs-are-good
dis
Peter Decker wrote:
> On 5/17/06, Andy Sy <[EMAIL PROTECTED]> wrote:
>
>> If tabs are easily misunderstood, then they are a MISfeature
>> and they need to be removed.
>
> I don't seem to understand your point in acting as a dictator.
> Therefore, you are a
achates wrote:
>> Andy Sy wrote:
>> Don't be evil - always configure your editor to
>> convert tabs to true spaces.
>
> Yet another space-indenter demonstrates that problem actually lies with
> people who think that tab == some spaces.
Wrong. I am completely aw
If tabs are easily misunderstood, then they are a MISfeature
and they need to be removed.
>From the Zen of Python:
"Explicit is better than implicit..."
"In the face of ambiguity, refuse the temptation to guess..."
"Special cases aren't special enough to break the rules..."
--
It's called DOM+
Jacky wrote:
> Hi all,
>
> I just started learning Python and would like to starting writing some
> web-based applications with Python.
>
> I did have pretty much experience with doing so with PHP and Java, but
> Python seems a bit different for me.
>
> Do you guys have some good web framework
Please... just stop this senseless defense of
a Rube-Goldberg feature.
There will NEVER be a universal agreement on
whether tabs should be 2, 3, 4 or 8 spaces in
width, and this causes endless tweaking of editor
settings (a *humongous* waste of time) to handle
source code made by other programmers
Harry George wrote:
> This has been discussed repeatedly, and the answer is "If you only
> work alone, never use anyone else's code and no one ever uses your
> codes, then do as you please. Otherwise use tab-is-4-spaces."
>
> When you do Agile Programming with people using emacs, vim, nedit,
> x
Steve wrote:
> umm, was just wondering, does the python mascot have a name ? We are naming
> the
> conference rooms in our office you see :o).
>
> Also, is there a place I could get some neat, good quality pics of the python
> ?
>
> - steve
The Python mascot is called Odi.
http://mail.python
Hi Dan,
I find that when doing bit-twiddling in pure Python,
fixed-width integer support is an extremely handy
capability to have in Python regardless of what
the apologists (for its absence) say.
I added some stuff to fixedint.py to make
>>> x=SByte(80)
>>> x+200
fixedint.SignedType(8)(24)
th
17 matches
Mail list logo