[squeak-dev] Re: Please Add To Trunk

Andreas Raab andreas.raab at gmx.de
Wed Oct 27 21:43:16 UTC 2010


On 10/27/2010 2:09 PM, Eliot Miranda wrote:
>     In Pharo the preference accessor is called
>     #allowUnderscoreAsAssignment in Squeak it's
>     #prefAllowUnderscoreAssignments. The OB code uses the Pharo version,
>     since OB is developed for Pharo. So there are three choices:
>     - add Compiler-tfel.175 to the Trunk
>     - rename the preference accessor in Squeak to
>     #allowUnderscoreAsAssignment
>     - add a Squeak compatibility package for OB which implements this
>     method as in Compiler-tfel.175
>
>
> Off the top of my head, only the latter makes sense.  There are no
> senders of allowUnderscoreAsAssignment in the base Compiler package so
> one would be tempted to delete it.  Why can't it be an extension in OB?

Why not rename it? There is little reason to insist that the preference 
accessor must be called exactly this or that.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list