<br><div class="gmail_quote">On Fri, Jun 15, 2012 at 8:48 PM, Devin Jeanpierre <span dir="ltr"><<a href="mailto:jeanpierreda@gmail.com" target="_blank">jeanpierreda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Fri, Jun 15, 2012 at 11:26 PM, Bruce Leban <<a href="mailto:bruce@leapyear.org">bruce@leapyear.org</a>> wrote:<br>
> For commenting out part of a line I think best practice is duplicating the<br>
> entire line as a comment and editing it directly. That handles scenarios<br>
> that inline comments don't and more importantly ensures reverting is error<br>
> free.<br>
<br>
</div>I suppose so. So far I've done pretty much exactly what I wrote, and<br>
used the undo buffer for safety.<br>
<br></blockquote><div>Undo is dangerous because in most editors it will undo other intervening changes to other parts of the program. You make a change like this to find a bug, then find and fix the bug. Undo will remove the fix.</div>

<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div class="im">> Agreed. But even if multiline/inline comments were added you'd still have</div>

<div class="im">> that problem, right?</div><div><br></div>
</div>I don't see why this problem would exist for comments. Comments do not<br>
have a (common) culture or behaviour of meaning anything else other<br>
than comments, whereas triple-quoted strings have three purposes:<br></blockquote></div><br><div>I meant that even if new comment syntax were added, string-style comments wouldn't be going away anytime soon. There's a high bar for adding features and an even higher bar for removing them. So tools will need handle the current string comments for quite a while as well as being modified to parse any new comment syntax.</div>

<div><br clear="all"><font face="arial, helvetica, sans-serif">--- Bruce</font><div><font face="arial, helvetica, sans-serif">Follow me: <a href="http://www.twitter.com/Vroo" target="_blank">http://www.twitter.com/Vroo</a> <a href="http://www.vroospeak.com/" target="_blank">http://www.vroospeak.com</a></font></div>

<div><font face="arial, helvetica, sans-serif"><br></font></div><br></div>