[Pharo-project] hex

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Tue Feb 23 17:16:59 EST 2010


The main reason for not using lowercase in squeak was Dan extension of
number with radix plus exponent.
16r8e7 -> 16r8 * (16 raisedTo: 7)
and the Float variations...

If you decided to abandon this notation, then go with either upper or lower.
But a bit of consistency could help...

Nicolas

2010/2/23 Stéphane Ducasse <stephane.ducasse at inria.fr>:
> Ok thanks.
>
> "
> The UUID spec (RFC 4122) allows both upper and lower case hex digits, so I don't see a reason not to.
>
> "
> Bert
>
>
> On Feb 23, 2010, at 10:43 PM, Eliot Miranda wrote:
>
>>
>>
>> On Tue, Feb 23, 2010 at 1:25 PM, stephane ducasse <stephane.ducasse at free.fr> wrote:
>> in pharo
>>
>> #[122 43 213 7] hex = '7A2BD507'
>>
>> in squeak
>>
>> #[122 43 213 7] hex = '7a2bd507'
>>
>> do you think that it makes a difference?
>>
>>
>> Much of the "rest of the world" (e.g. gdb, md5sum) uses lower case.  Personally I find lower-case much easier to read because I find the lower-case letters visually more different from the digits than the upper case letters.  For these two reasons I prefer lower-case.   I haven't always been this way.  I used to prefer upper case because I think the upper case letters look neater, having the same height as the digits.  But now I prefer legibility over neatness.
>>
>>>>
>> Eliot
>>
>> Stef
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>




More information about the Pharo-dev mailing list