[Cuis] *ColorDict* methods

Juan Vuletich juan at jvuletich.org
Tue Jun 23 08:41:33 CDT 2015


Hi Folks,

Phil talks about stuff like #blueColorDict . Nice to have, but hardly 
essential.

(Smalltalk allClasses collect: [ :cls | { cls linesOfCode. cls } 
])sorted: [ :a :b | a first > b first ]

shows that Color is the second largest class in Cuis. Any class with 
more than, lets say, 1000 lines of code should be candidate for 
reduction, cleanup, etc.

I guess we'd build a new package for these nice but optional Color 
messages...

Cheers,
Juan Vuletich

On 6/18/2015 11:50 PM, Phil (list) wrote:
> On Thu, 2015-06-18 at 19:40 -0600, Ken.Dickey wrote:
>> On Thu, 18 Jun 2015 21:14:26 -0400
>> "Phil (list)"<pbpublist at gmail.com>  wrote:
>>
>>> I was browsing around the source and noticed that there are a couple
>>> dozen or so class methods on Color named *ColorDict*
>> I don't see these in vanilla 2367.
>>
>> Sure you didn't load one of the named color packages?  Perhaps something that uses named colors?
>>
> I was using 2358 but updated to 2367 just to be sure.  With just the
> base image (no packages loaded) they're still there: #blueColorDict,
> #blueColorDict:... (class side)
>
>>    https://github.com/KenDickey/Cuis-Smalltalk-NamedColors
>>      Feature require: 'XKCD-NamedColors'.
>>      Feature require: 'NBSISCC-NamedColors'.
>>      Feature require: 'CSS2-NamedColors'.
>>      Feature require: 'CSS3-NamedColors'.
>> perhaps:
>>    https://github.com/KenDickey/Cuis-Smalltalk-ColorEditor
>>
>> The Installed Packages window sees all, tells all.  ;^)
>>
>
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>





More information about the Cuis mailing list