[squeak-dev] Class names with underscores

mkobetic at gmail.com mkobetic at gmail.com
Fri Jan 21 16:57:11 UTC 2011


"Levente Uzonyi"<leves at elte.hu> wrote:
> The default is: underscore assignments are allowed, underscore selectors 
> are not. This is fully backwards compatible.
> You can enable underscore selectors for your classes (both senders and 
> implementors) in Squeak by implementing the class side method 
> #allowUnderscoreSelectors as ^true.
> Browsing the source code has some problems due to a bug 
> (http://bugs.squeak.org/view.php?id=7547 ), but the code will work.

OK, just to make sure, since this all talks about selectors. It is OK to have a class with the *class name* with underscores if I add #allowUnderscoreSelectors ^true to it ?

Thanks for your help,

Martin



More information about the Squeak-dev mailing list