There are a very small number of codepoints in the unicode standard that are considered "titlecase", e.g., Dž.
This is as opposed to "lowercase" (dž) or "uppercase" (DŽ).
This comes into play when Ruby is looking at an identifier and determining if it is a constant or not.
Ruby considers an identifier to be a constant if it:
1. starts with any encoding's uppercase character 2. starts with a unicode encoding titlecase character 3. starts with a character that, when casefolded, changes
Anyway, it's not particularly relevant to anyone, but I thought the titlecase piece was really interesting.
• • •
Missing some Tweet in this thread? You can try to
force a refresh