[ENH] deprecation 2

Brent Pinkney pinkney_b at aircom.co.za
Fri May 9 14:13:17 UTC 2003


Hi,

This is my second implemetation of the Deprecation warning.

>From Deprecation's class comments...

This Warning is signalled by methods which are deprecated.

The use of Object>>#deprecated and Object>>#deprecated: aBlock is recommended.
e.g.

Foo>>#oldMethod
	self deprecated.

or
Foo>>#oldMethod
	self deprecated: [ Bar>>#newMethod ].


How does this get into 3.6alpha and become Standard Practice ?

Thanks

Brent



More information about the Squeak-dev mailing list