Reasons for Lint rules

Frank Shearar Frank.Shearar at rnid.org.uk
Fri Feb 25 16:48:48 UTC 2005


It occurs to me that it'd be nice to see a rationale for the Lint rules. Like, say, in a balloon text when you hovered over the title of the rule in the SmallLint Results window.

For instance, "Uses the result of an add: message" - why is it bad form to do so? I mean, OrderedCollection>>add: does in fact return the object you added.

Some of the rules are obvious like the 'Uses "size = 0" etc etc' rule, but some really aren't. At least, not to me. (And of course what's obvious to me isn't obvious to J. Random Squeaker).

frank


*******************************************************************
This email and attachments (if any) must be swept for viruses before opening. Their contents may be confidential or privileged and are intended solely for the named recipient. If you are not the intended recipient and you have received this email in error you must not read or use this email and should notify RNID on: +44 (0) 20 7296 8282.

 

RNID, Registered Office 19-23 Featherstone Street, London EC1Y 8SL No. 454169 (England, Registered Charity No. 207720)

********************************************************************




More information about the Squeak-dev mailing list