3 ms·
I'll have to tell my A01C about these. And while we're talking hex semantics, is it just me being old, or do lower case letters in hex values bother anyone els
by reaperducer 7y ago
I'll have to tell my A01C about these.
And while we're talking hex semantics, is it just me being old, or do lower case letters in hex values bother anyone else?
The only time I've been OK with this is when I've had to work with machines that only have seven-segment displays.
- joombaga 7y agoI prefer lower case. The height difference makes the letters easier to read IMO.
- XaspR8d 7y agoI tend to prefer lowercase since it reduces the number of confusable characters, especially in handwriting (8/B, 0/D, 4/A), but I can understand that numbers might typographically or semantically feel uppercase, so lowercase A-F creates a MIxEd cASe looK. Is uppercase the older tradition? I'm ~30yo and I've been seeing both for as long as I remember.
- reaperducer 7y agoIn my experience, it was always upper case until around the time CSS was introduced. The article pictured has it in upper case and it's from 1968.
- Izkata 7y agoHTML was as well, before CSS became commonplace. I still reflexively do it on occasion when writing a root page (html/head/title/body tags).
- kps 7y agoMost hardware was upper-case-only until the '60s — being descended from upper-case-only accounting cards and/or teleprinters.
- psc2 7y agoRFC 5952: A Recommendation for IPv6 Address Text Representation says "The characters "a", "b", "c", "d", "e", and "f" in an IPv6 address MUST be represented in lowercase "[1] One Reason for this, is that it can avoid redundancy if you submit a hexdecimal nummber by phone. "However, when a letter is spelled uppercase,people tend to specify that it is uppercase, which is unnecessary information."[2] If you care about typography and think mixing lower-case letters with upper-case numbers, you could argue, that oldstyle numbners aka. lower-case numbers could be a better fit. [1]https://tools.ietf.org/html/rfc5952#section-4.3 https://tools.ietf.org/html/rfc5952#section-4.3 [2]https://tools.ietf.org/html/rfc5952#section-3.3.3 https://tools.ietf.org/html/rfc5952#section-3.3.3
- reaperducer 7y agoSince the RFC came 42 years after the magazine article, and 27 years after I sold my first computer program (with data in hex), I'll just consider myself old fashioned.