<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-04-03 1:32 GMT+02:00 Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></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 03.04.2015, at 01:00, Chris Muller <<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>> wrote:<br>
<br>
> On Thu, Apr 2, 2015 at 5:52 PM, Tobias Pape <<a href="mailto:Das.Linux@gmx.de">Das.Linux@gmx.de</a>> wrote:<br>
>> Hi,<br>
>><br>
>> On 03.04.2015, at 00:32, Levente Uzonyi <<a href="mailto:leves@elte.hu">leves@elte.hu</a>> wrote:<br>
>><br>
>>> I prefer to use Symbols instead of Strings for class names, because they make it easier to find potential users of the class.<br>
><br>
> +1<br>
><br>
>> yes, but #hasClassNamed: is a String protocol.<br>
><br>
> A Symbol is a String. Many (if not all) existing users of<br>
> hasClassNamed: pass Symbols (a special kind of String).<br>
<br>
</div></div>I don't want to rely on that.<br>
Symbols being Strings is an implementation detail.<br>
Looking at the broader picture, in GemStone, in fact<br>
a Symbol is not a String.<br>
<br>
Best<br>
<span class="HOEnZb"><font color="#888888"> -Tobias<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Yes, but String/Symbol equality is an implementation detail.<br></div><div class="gmail_extra">In Visualworks 'foo' ~= #foo.<br></div></div>