News for hackers. Stuff that matters.
Re:Nim: Scripting Ease in a Compiled Language by SamReidHughes on Tuesday October 29, 2019 @10:47PM (#21394237)
In many languages, you might use one for a type name, the other for a variable.

You could ban using the same identifier with different cases, instead of treating them the same.

Re:Nim: Scripting Ease in a Compiled Language by narimiran on Wednesday October 30, 2019 @03:06AM (#21395252)
> In many languages, you might use one for a type name, the other for a variable.

And Nim is one of those languages too. This is perfectly valid and frequently used:

    type
      Person = object
        name: string
        age: int

    let person = Person(name: "you", age: 99)

    echo person

You can try it in Nim Playground: https://play.nim-lang.org/#ix=20jS
Re:Nim: Scripting Ease in a Compiled Language by blueprint on Tuesday October 29, 2019 @11:06PM (#21394337)
On the other hand, what if it's a code UI limitation? Suppose the UI for writing Nim had support for linking, editing, viewing all such alternately spelled but equivalent symbols?
Re:Nim: Scripting Ease in a Compiled Language by SamReidHughes on Tuesday October 29, 2019 @11:25PM (#21394435)
There are tools that aren't nim-specific, like ack/grep/sed/git, and code review tools, which suffer as a result.
Re:Nim: Scripting Ease in a Compiled Language by coldtea on Wednesday October 30, 2019 @07:18AM (#21396430)
Then it limits me as a programmer to have to use said UI...