What to believe?

Chris Muller asqueaker at gmail.com
Fri Jun 29 01:55:02 UTC 2007


Someone wrote a package where you could allow specific "violations"
for specific methods declared (I think) on the class side so that Lint
would then ignore it going foward.

I can't remember who did it, but it was in the last few years.  You'd
have to search the archives to find it..

On 6/26/07, Piers Cawley <pdcawley at bofh.org.uk> wrote:
> What is a young Smalltalker to do? SmallLint forcefully suggests that:
>
> ^ Preferences optionalButtons
>     ifTrue: [OBFixedButtonPanel new]
>
> should be rewritten as:
>
> ^ Preferences optionalButtons
>     ifTrue: [OBFixedButtonPanel new]
>     ifFalse: [nil]
>
> which would be fine, but as soon as I try and pretty print the
> rejigged method, it reverts to the version without the ifFalse:
> clause?
>
> Two tools enter, one tool leaves. But which one?
>
>



More information about the Squeak-dev mailing list