Hacker News new | ask | show | jobs
by amelius 401 days ago
I like that I can write:

    Window* window = new Window(...)
3 comments

You probably don’t like this:

  String string = “String.com”;
I don't see the problem to be honest.
I can't imagine that working in any programming language, given the smart quotes.
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 ...
You don't need case sensitivity for that.
Perhaps if you redesigned the language. But case sensitivity makes things a lot clearer.