[Cuis-dev] BlockClosure>>timeToRun --- shouldn't be millisecondsToRun?

Andres Valloud ten at smallinteger.com
Wed Sep 15 18:28:16 PDT 2021


Funny that, at first I tried #millisecondsToRun which IME had been the 
standard selector, and didn't find it.  That's what got me looking at 
#timeToRun.

On 9/15/21 9:02 AM, Hernan Wilkinson via Cuis-dev wrote:
> That is a possibility but Juan does not like the deprecated flag because 
> of the maintenance issues, and it is understandable.
> The question is, how many places use the timeToRun? I think not many if 
> any at all... it is more a message used by the programmer when he/she 
> wants to try something on the fly... so renaming it would cause more 
> problems to an experienced smalltalker that wants to use it and doesn't 
> find it...
> 
> On Wed, Sep 15, 2021 at 12:58 PM Nicolás Papagna Maldonado 
> <nicolas.papagna at gmail.com <mailto:nicolas.papagna at gmail.com>> wrote:
> 
>     How about creating an alias and flagging the current one as
>     deprecated/deprecate it in x months/releases?
> 
>     On Wed, Sep 15, 2021 at 12:34 PM Hernan Wilkinson via Cuis-dev
>     <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
> 
>         That is a good point ... but renaming it would break
>         compatibility.. tough decision
> 
>         On Tue, Sep 14, 2021 at 9:59 PM Andres Valloud via Cuis-dev
>         <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
> 
>             Hi, at some point profiling requires microsecond precision,
>             and at that
>             point BlockClosure>>timeToRun is misleading.  Shouldn't
>             #timeToRun be
>             called #millisecondsToRun?
> 
>             Andres.
>             -- 
>             Cuis-dev mailing list
>             Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>             https://lists.cuis.st/mailman/listinfo/cuis-dev
>             <https://lists.cuis.st/mailman/listinfo/cuis-dev>
> 
> 
> 
>         -- 
>         <https://10pines.com/>
> 
> 
>           Hernán Wilkinson
> 
> 
>             Software Developer, Teacher & Coach
> 
>         Alem 896, Floor 6, Buenos Aires, Argentina
> 
>         +54 11 6091 3125
> 
>         @HernanWilkinson
> 
>         -- 
>         Cuis-dev mailing list
>         Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>         https://lists.cuis.st/mailman/listinfo/cuis-dev
>         <https://lists.cuis.st/mailman/listinfo/cuis-dev>
> 
> 
> 
>     -- 
> 
>     Nicolás Papagna
> 
> 
> 
> -- 
> <https://10pines.com/>
> 
> 
>   Hernán Wilkinson
> 
> 
>     Software Developer, Teacher & Coach
> 
> Alem 896, Floor 6, Buenos Aires, Argentina
> 
> +54 11 6091 3125
> 
> @HernanWilkinson
> 
> 


More information about the Cuis-dev mailing list