[squeak-dev] Re: Selectors with underscores

radoslav hodnicak rh at 4096.sk
Thu Mar 11 17:16:21 UTC 2010


I should add that I personally would rather ban underscore assignment, 
than underscores in method names

On Thu, 11 Mar 2010, radoslav hodnicak wrote:

>
>
> On Thu, 11 Mar 2010, Andreas Raab wrote:
>
>> My vote will depend entirely on the backwards compatibility aspect. What's 
>> the current status there? Do you have to switch entire images between 
>> underscore-in-assignment and undersscore-in-selector or can you scope this 
>> more specifically? Can code with underscore assignment still be loaded?
>
> the patch for scanner from glorp allows underscore assignment to compile as 
> long as the underscore has spaces around it, e.g.
>
> test_method
> |a|
> a _ 3.
>
> compiles
>
>
> test_method
> |a|
> a_3
>
> does not
>



More information about the Squeak-dev mailing list