[squeak-dev] The Trunk: Collections-fn.825.mcz

tim Rowledge tim at rowledge.org
Fri Apr 12 17:14:17 UTC 2019



> On 2019-04-12, at 12:30 AM, commits at source.squeak.org wrote:
> 
> 
> Just like strings, characters should convert themselves to an integer when involved in arithmetic with a number.

Well, ok I guess. BUT why is the conversion simply to the internal bits of the character representation? Surely digit characters ought to convert to the number they directly represent? And wouldn't it be more correct to convert all the other chars via the encoding in use? Unless, I suppose we are actually using unicode already in which case one might make a decent argument that that is The Right One.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: LA: Lockout Access




More information about the Squeak-dev mailing list