June 9, 2016
7:04 a.m.
On 08 Jun 2016, at 19:46, stepharo <stepharo@free.fr> wrote:
60072 18451 Do not use #ifNotNilDo:ifNil:, #ifNil:ifNotNilDo:, #ifNotNilDo: https://pharo.fogbugz.com/f/cases/18451
Is there a rule for such case?
Indeed, there are! RBRuleIfNotEmptyDo RBRuleIfNotNilDo Added in Pharo5, so we can deprecate these methods in Pharo6. (Maybe we can use them as a reason to add the âautomatic rewrite deprecationâ in Pharo6⦠with the idea that it says âthis is departed, but I can fix it for youâ. At runtime we can do that with 100% correctness.) Marcus