[squeak-dev] Selectors with underscores

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Mar 11 20:35:27 UTC 2010


2010/3/11 Igor Stasenko <siguctua at gmail.com>:
> On 11 March 2010 16:47, Ian Trudel <ian.trudel at gmail.com> wrote:
>> 2010/3/11 Torsten Bergmann <astares at gmx.de>:
>>> Pharo allows you to use underscores in method selectors.
>>> This is currently in Pharo 1.1 and not 1.0.
>>>
>>> Does that makes sense to have in Squeak trunk/Cuis too?
>>
>> No, this is *not* something I'd like to have in Squeak. It's a
>> potential disaster in the long run where either we will be forced to
>> standardize code in some way or live with a basic image/trunk/etc and
>> very weird variable names mixing camel_CameANd_whAtnot beyond the
>> usage of Glorp.
>>
>
> I don't see any disaster with it. Take another languages, does a
> presence of underscore in names makes them
> more beatiful/horrible above anything else? I don't think so.
>

To my understanding, there is no need of _ in selectors, BUT for
hooking external procedures.
It's painful to have to remember two different selectors when you
heaviily rely on FFI (OpenGL is a good example indeed).

Nicolas

>> o_O
>> (how appropriate!)
>>
>> Ian.
>> --
>> http://mecenia.blogspot.com/
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
>



More information about the Squeak-dev mailing list