News for hackers. Stuff that matters.
Re:Nim 1.6.2 by DangitBobby on Saturday December 18, 2021 @02:30AM (#29602548)
player = Player()

all the time in Python.

date = new Date()

all the time in JS.

Those are just the two languages I spend the most time in, but, but I'm sure it's trivial to find numerous examples of cases carying meaning in case-sensitive languages. Especially ones which encourage camel casing.

Re:Nim 1.6.2 by narimiran on Saturday December 18, 2021 @11:25AM (#29605704)
`player` and `Player` are different in Nim. Ditto for `date` and `Date`.
Re:Nim 1.6.2 by silok on Saturday December 18, 2021 @03:17AM (#29602785)
There is a difference between variables and types.

For instance, in C#, with capital-case convention for variables, it is common to give a variable the same name as the type.

eg `public Player Player;`