Am 25.02.2010 17:39, schrieb Grant Edwards:
IMO, any sort of commented out code left in a program is a
big mistake. If the code is soething that does need to stay
for optional use, then it needs to be properly integrated along
with logic to control when it's used.
OK, then we are perfectly
Am 26.02.2010 12:47, schrieb Michael Rudolf:
I'd just hate to see something like if False in production level code.
And yeah, I've seen it. And worse.
--
http://mail.python.org/mailman/listinfo/python-list
kj no.em...@please.post writes:
I think I remember, early in my learning of Python, coming across
the commandment THOU SHALT NOT USE TRIPLE-QUOTES TO COMMENT-OUT
LINES OF CODE, or something to that effect. But now I can't find
it!
No idea, but it would be nice to have some multiline comment
Paul Rudin wrote:
kj no.em...@please.post writes:
I think I remember, early in my learning of Python, coming across
the commandment THOU SHALT NOT USE TRIPLE-QUOTES TO COMMENT-OUT
LINES OF CODE, or something to that effect. But now I can't find
it!
No idea, but it would be nice to have some
On 02/25/10 05:18, kj wrote:
I think I remember, early in my learning of Python, coming across
the commandment THOU SHALT NOT USE TRIPLE-QUOTES TO COMMENT-OUT
LINES OF CODE, or something to that effect. But now I can't find
it!
I've never heard of it, though I can think of a few reasons why
From: Lie Ryan
On 02/25/10 05:18, kj wrote:
I think I remember, early in my learning of Python, coming across
the commandment THOU SHALT NOT USE TRIPLE-QUOTES TO COMMENT-OUT
LINES OF CODE, or something to that effect. But now I can't find
it!
I've never heard of it, though I can
On 2010-02-25, Paul Rudin paul.nos...@rudin.co.uk wrote:
kj no.em...@please.post writes:
I think I remember, early in my learning of Python, coming across
the commandment THOU SHALT NOT USE TRIPLE-QUOTES TO COMMENT-OUT
LINES OF CODE, or something to that effect. But now I can't find
it!
Am 25.02.2010 16:07, schrieb Grant Edwards:
On 2010-02-25, Paul Rudinpaul.nos...@rudin.co.uk wrote:
No idea, but it would be nice to have some multiline comment syntax
(other than # at the beginning of each line). Particularly one that can
be nested.
if 0:
Seriously, that's what I generally
On 2010-02-25, Michael Rudolf spamfres...@ch3ka.de wrote:
Am 25.02.2010 16:07, schrieb Grant Edwards:
On 2010-02-25, Paul Rudinpaul.nos...@rudin.co.uk wrote:
No idea, but it would be nice to have some multiline comment syntax
(other than # at the beginning of each line). Particularly one that
I think I remember, early in my learning of Python, coming across
the commandment THOU SHALT NOT USE TRIPLE-QUOTES TO COMMENT-OUT
LINES OF CODE, or something to that effect. But now I can't find
it!
Is my memory playing me a trick?
After all, from what I've seen since then, the practice of
On Feb 24, 12:18 pm, kj no.em...@please.post wrote:
I think I remember, early in my learning of Python, coming across
the commandment THOU SHALT NOT USE TRIPLE-QUOTES TO COMMENT-OUT
LINES OF CODE, or something to that effect. But now I can't find
it!
Your going to get many opinions on this
Get a decent editor, like PyScripter, and press Ctrl-' (toggle comment).
Regards,
mk
--
http://mail.python.org/mailman/listinfo/python-list
In article hm3qhi$2c...@reader2.panix.com, kj no.em...@please.post wrote:
I think I remember, early in my learning of Python, coming across the
commandment THOU SHALT NOT USE TRIPLE-QUOTES TO COMMENT-OUT LINES OF
CODE, or something to that effect. But now I can't find it!
Is my memory playing
After all, from what I've seen since then, the practice of
triple-quote-commenting (or TQC, pardon the TCA) is in fact quite
common.
Is TQC OK after all?
If not, what's the case against it?
I have no sense of how approved it is, and don't have a strong opinion
on it, but I would think that
14 matches
Mail list logo