Sunnan == Sunnan [EMAIL PROTECTED] writes:
Sunnan It's just that I'm having a hard time matching that quote
Sunnan to what I though python was about. I thought boring code
Sunnan was considered a virtue in python. (Explicit is better
Sunnan than implicit, sparse is better than
Ville Vainio wrote:
Boring code is code that numbs your senses with constant flow of
boilerplate crap, memory management and redundant type declarations
and general blah blah that you skip when you are trying to figure out
what a piece of code does.
The python code I've read so far has looked like
Sunnan == Sunnan [EMAIL PROTECTED] writes:
Sunnan Ville Vainio wrote:
Sunnan Also, Guido recently urged people to explicitly write
Sunnan recursions rather than to use reduce - which I thought was
Sunnan completely in line with what I've seen as python's goals:
Sunnan
Sunnan:
The python code I've read so far has looked like that. Not type
declarations, but lng class declarations.
What do you mean? Lots of repetitive
self.variable=variable in the __init__ method? Use of classes when
you would use closures? Or maybe you
are comparing with CLOS classes,
Sunnan wrote:
Aahz wrote:
(snip)
print foo is, foo
Is the space added automatically? (Like awk does, if you add a comma.)
Yes. But you can also format it how you like:
print foo is %s and that's a good news, my friends % foo
--
bruno desthuilliers
python -c print '@'.join(['.'.join([w[::-1]
Sunnan == Sunnan [EMAIL PROTECTED] writes:
Sunnan It's just that I'm having a hard time matching that quote
Sunnan to what I though python was about. I thought boring code
Sunnan was considered a virtue in python.
There's a difference between unsurprising and boring.
The coffee I
Aahz wrote:
Note very, VERY, *VERY* carefully that the quote says nothing about
boring code. The quote explicitly refers to reams of trivial code
as boring -- and that's quite true. Consider this distinction:
Thank you for this important clarification.
if foo == 'red':
print 'foo is
Tim Peters wrote:
[Aahz]
The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code --
not in reams of trivial code that bores the reader to death. --GvR
[Sunnan]
Can anyone please point me to the text that quote was
In article [EMAIL PROTECTED],
Sunnan [EMAIL PROTECTED] wrote:
[Aahz]
The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code --
not in reams of trivial code that bores the reader to death. --GvR
It's just that
Aahz wrote:
The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code --
not in reams of trivial code that bores the reader to death. --GvR
Can anyone please point me to the text that quote was taken from? I
tried
[Aahz]
The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code --
not in reams of trivial code that bores the reader to death. --GvR
[Sunnan]
Can anyone please point me to the text that quote was taken from? I
11 matches
Mail list logo