[squeak-dev] Delay for: 60 seconds vs. Delay forSeconds: 60.

Colin Putney cputney at wiresong.ca
Sat Jan 9 18:20:17 UTC 2010


On 2010-01-08, at 10:37 AM, Julian Fitzell wrote:

> Yes, Squeak loves creating protocol explosion by duplicating the protocol of one class all over the place to where it "might be useful". This makes it more difficult to write portable or consistent code, makes namespace collisions more likely, and means you have to wade through way more protocol on each class looking for what you want.
> 
> There are many, many things that might happen over a particular duration. Let's take the JQuery support in Seaside as an example. There are dozens of effects, all of which can run over a certain number of milliseconds. Should we add #hide, #slideUp, #slideDown, #toggle, #fadeIn, etc. to Duration? Just because something *uses* Durations, does not mean its protocol should be duplicated on Duration.

+1. 
 
This kind of thing makes it harder to carve the image into packages. I think "(Delay for: 5 seconds) wait" is fine. 

Colin


More information about the Squeak-dev mailing list