Hacker News new | ask | show | jobs
by simias 1088 days ago
>Case insensitivity is only seen as "rustic" because C is case insensitive.

C is case sensitive, but it's also not seen as very modern language these days, so I'm not sure I understand your argument.

I think case-insensitivity is seen as rustic because it's a remnant of the times when some systems simply did not have a notion of case and everything was uppercase all the time. Modern systems handle case just fine so having several character strings being distinct in terms of byte values but equal in the way the language interprets them seems clunky and error prone (because it is).

2 comments

> Modern systems handle case just fine

Modern systems tend to support international character sets (UTF-8, etc.), where the idea of 'case' makes things more complicated than ASCII; and probably more trouble than it's worth. Even if we stick with latin characters, are 'uppercase' and '𝖀𝓟ℙ𝗘ℝℂ𝙰𝒮𝓔' the same identifier?

>C is case sensitive Yes thank you, I mixed up my prefixes.