On 30 Jan 2013, at 15:08, Sven Van Caekenberghe <[email protected]> wrote:

> Can it be done in plain Smalltalk ?

Something crude like this:

OrderedCollection streamContents: [ :stream |
        Object withAllSubclassesDo: [ :eachClass |
                stream nextPutAll: (eachClass methods 
                        select: [ :each | each category = #'as yet 
unclassified' ]) ] ].
        
OrderedCollection streamContents: [ :stream |
        Object withAllSubclassesDo: [ :eachClass |
                stream nextPutAll: (eachClass methods 
                        select: [ :each | each category = #'nil' ]) ] ].

It is then possible to subselect on author.

But blaming people who contribute (a lot) might not be the best strategy. Often 
the author is the one who last changed a method, the missing categorisation was 
probably already there. Also, creating methods from certain tools makes then 
automatically uncategorised…

Sven


--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill


Reply via email to