[ENH] ifNotEmptyCleans
Samuel Tardieu
sam at rfc1149.net
Thu Sep 30 12:52:28 UTC 2004
>>>>> "Marcus" == Marcus Denker <denker at iam.unibe.ch> writes:
Marcus> So I think the following would be a good compromise:
Marcus> 1) allow 0- and 1-arg block for ifNotEmpty: and ifNotNil: for
Marcus> compatibility
Marcus> 2) provide ifNotEmptyDo: to be used. (there is
Marcus> already ifNotNilDo:).
3) Add a new check in SLint for "improper" usage of ifNotEmpty: and
ifNotNil:
Sam
--
Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/sam
More information about the Squeak-dev
mailing list
|