←back to thread

136 points colinbartlett | 1 comments | | HN request time: 0.211s | source
Show context
sillystu04 ◴[] No.43949644[source]
I wish modern computers considered casing to be purely a matter of style, such that “S” == “s” evaluates to true.

Casing is rarely semantically important, so case sensitivity is widely ignored. But in many circumstances this gets implemented in a haphazard way. For example some sites consider foo@gmail.com and foo@GMAIL.COM to be different email addresses.

Also case sensitivity makes internationalisation awkward, particularly with German.

Sadly it’s too late to change this because doing so would be such a breaking change.

replies(5): >>43949674 #>>43949915 #>>43949997 #>>43950178 #>>43955161 #
amelius ◴[] No.43949674[source]
I like that I can write:

    Window* window = new Window(...)
replies(3): >>43949697 #>>43950276 #>>43959531 #
1. int_19h ◴[] No.43959531[source]
Imagine if instead you could write:

  w̲i̲n̲d̲o̲w̲* window = new w̲i̲n̲d̲o̲w̲(...)
(that's the original ALGOL 60 reference language syntax, for the curious; although it didn't have user-defined types, so it was keywords that were underlined)

Then there's the Smalltalk approach:

  aWindow := Window new ...