Optional class extensions

Brent Pinkney brent.pinkney at aircom.co.za
Sat Feb 5 11:51:00 UTC 2005


> The idea is that for package P, you have class extension method  
> categories named *?p... When loading code, a check is done whether the  
> extended class exists, if not, the methods are silently skipped.

or simpler

in class Bar:

	*foo		- extension for Bar from package foo
	?foo		- optional extensions for class Bar for package foo iff Bar exists.

Brent



More information about the Squeak-dev mailing list