<div dir="ltr"><div><div>Well, Squeak still accept #: but it already prints #&#39;:&#39; because we refactored Scanner class&gt;&gt;isLiteralSymbol: some years ago<br>We also changed String&gt;&gt;numArgs so that #&#39;:if:then:else:&#39; numArgs = -1<br>
</div><div>It would be logical to finish the clean-up.<br>Only the possibility to load historical code should retain us if it really matters<br>(but it&#39;s hard to tell without analyzing large code bases).<br><br></div>
<div>That&#39;s one thing we should always remember: adding a small extension to the syntax is very easy to do.<br></div><div>Removing it is much much harder (for social reasons).<br></div><div><br></div>Pharo 3.0 does not accept #: #:x anymore since OpalCompiler switch.<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/12 Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
On 2013-09-12, at 23:03, Levente Uzonyi &lt;<a href="mailto:leves@elte.hu">leves@elte.hu</a>&gt; wrote:<br>
<br>
&gt; On Thu, 12 Sep 2013, Bert Freudenberg wrote:<br>
&gt;<br>
&gt;&gt; On 2013-09-11, at 23:14, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt;      After verification, xColon is not so rare, it is invoked for every block argument...<br>
&gt;&gt;&gt;      But we can safely replace (token := self step asSymbol) with (token := String with: self step), no problem.<br>
&gt;&gt;&gt; We can even change it to (token := self step) if we are willing to remove last scories of alternate selectors beginning with $:<br>
&gt;&gt;&gt; Indeed, #: and #:x are obsolete squeakism which would not compile in other dialects (#&#39;:&#39; and #&#39;:x&#39; is the universally correct syntax).<br>
&gt;&gt; Well, all Squeak-derived dialects still do support it. Pharo changed the printString of #: to #&#39;:&#39;, while Squeak and Cuis still print #:. And they all accept #:, #:x, and #:x:::.<br>
&gt;<br>
&gt; You mean you can still use #: or #:x as a selector in Squeak, Cuis or Pharo? I&#39;m pretty sure that was removed long ago from Squeak, and I doubt the other dialects support them.<br>
<br>
<br>
</div></div>No, I mean they recognize the symbol syntax.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Bert -<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>