3 ms·
Quick fix, in nim: foo_bar = fooBar Foo_bar = FooBar foo_bar != FooBar That is, it's case sensitive with the first character of the identity. I've ment
by jwecker 11y ago
Quick fix, in nim:
foo_bar = fooBar
Foo_bar = FooBar
foo_bar != FooBar
That is, it's case sensitive with the first character of the identity.
I've mentioned elsewhere that this one bugged me at first, but in practice it simply means that you get to use the language as if your preferred convention (whether snake or camel) is the "official" one- even when calling other libraries. Nothing more and nothing less. Cases where you need both styles but need them to be different things tend to be non-existent / code-smell.