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.
Otherwise, you'll end up having a lot of "backup" files hanging around
which are even worse than multi-row comments. Or, even worse: If you
don't create backup files before removing code ...


Greets,

        Volker

-- 
Volker Grabsch
---<<(())>>---
\frac{\left|\vartheta_0\times\{\ell,\kappa\in\Re\}\right|}{\sqrt
[G]{-\Gamma(\alpha)\cdot\mathcal{B}^{\left[\oint\!c_\hbar\right]}}}
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to