triple quoted strings as comments
Jorgen Grahn
grahn+nntp at snipabacken.dyndns.org
Mon Feb 6 17:34:07 EST 2006
On 6 Feb 2006 12:53:53 GMT, Volker Grabsch <volker_grabsch at v.notjusthosting.com> wrote:
> Jorgen Grahn wrote:
>>>> [...] developer had
>>>> commented out about 50 lines of C++ code by just putting a /* at the top
>>>> and a */ at the bottom.
> [...]
>> ("#if 0" in C and C++ are better choices, but only marginally. Best is to
>> remove the code unless you are sure it's needed again soon. Works in all
>> languages.)
>
> However, I'd only advise to do this if you are using a revision control.
But surely, everybody's using revision control these days?
(Feel free to smile at my naivety now ;-)
/Jorgen
--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.dyndns.org> R'lyeh wgah'nagl fhtagn!
More information about the Python-list
mailing list