<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><span style="font-family: Times-Roman;">On Wed, Feb 4, 2015 at 12:56 PM, Kim Bruce <</span><a href="mailto:kim@cs.pomona.edu" style="font-family: Times-Roman;">kim@cs.pomona.edu</a><span style="font-family: Times-Roman;">> wrote:</span><br><br><blockquote type="cite"><blockquote type="cite" style="font-family: Times-Roman; font-size: 17px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">I'm a little less excited about allowing them in the middle of complete statements, but there are some spots where I don't think it is awful:<br><br> // throw away punctuation and change to lower case:<br> thinList := myList.filter(no_punc) // get rid of punctuation<br> .toLower // & change to lower</blockquote></blockquote><br><div>The canonical example that I know of for end-of-line comments is something like</div><div><br></div><div> def spaces = sequence.with(</div> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u0020" //<span class="Apple-tab-span" style="white-space:pre"> </span>SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u00A0" //<span class="Apple-tab-span" style="white-space:pre"> </span>NO-BREAK SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u1680" //<span class="Apple-tab-span" style="white-space:pre"> </span>OGHAM SPACE MARK<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u180E" //<span class="Apple-tab-span" style="white-space:pre"> </span>MONGOLIAN VOWEL SEPARATOR<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2000" //<span class="Apple-tab-span" style="white-space:pre"> </span>EN QUAD<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2001" //<span class="Apple-tab-span" style="white-space:pre"> </span>EM QUAD<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2002" //<span class="Apple-tab-span" style="white-space:pre"> </span>EN SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2003" //<span class="Apple-tab-span" style="white-space:pre"> </span>EM SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2004" //<span class="Apple-tab-span" style="white-space:pre"> </span>THREE-PER-EM SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2005" //<span class="Apple-tab-span" style="white-space:pre"> </span>FOUR-PER-EM SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2006" //<span class="Apple-tab-span" style="white-space:pre"> </span>SIX-PER-EM SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2007" //<span class="Apple-tab-span" style="white-space:pre"> </span>FIGURE SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2008" //<span class="Apple-tab-span" style="white-space:pre"> </span>PUNCTUATION SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u2009" //<span class="Apple-tab-span" style="white-space:pre"> </span>THIN SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u200A" //<span class="Apple-tab-span" style="white-space:pre"> </span>HAIR SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u200B" //<span class="Apple-tab-span" style="white-space:pre"> </span>ZERO WIDTH SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u202F" //<span class="Apple-tab-span" style="white-space:pre"> </span>NARROW NO-BREAK SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u205F" //<span class="Apple-tab-span" style="white-space:pre"> </span>MEDIUM MATHEMATICAL SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\u3000" //<span class="Apple-tab-span" style="white-space:pre"> </span>IDEOGRAPHIC SPACE<br> ,<span class="Apple-tab-span" style="white-space:pre"> </span>"\uFEFF" //<span class="Apple-tab-span" style="white-space:pre"> </span>ZERO WIDTH NO-BREAK SPACE<div> )</div><div><br></div><div>I see no reason to outlaw such comments. The existing rule about comment attachment works just fine for this sort of thing, which is common in every language that I know of.</div><div><br></div><div>More generally, I don't understand the motivation for Michael's proposal. I'm all in favor of revisiting design decisions that have, in the light of a couple of year's experience, where a feature has proved problematic. We are doing this with inheritance–delegation–code-sharing. I'm not aware of problems that our existing comment rules have caused. If there are some, we should perhaps discuss these first, before proposing new restrictions.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Andrew</div><div><br></div><div><br></div><div><br></div></body></html>