3 ms·
> Case-sensitivity is the opposite though: it's making two things that look the same be different. No it isn't. fooBar and foo_bar have the same words in them,
by wtetzner 11y ago
> Case-sensitivity is the opposite though: it's making two things that look the same be different.
No it isn't. fooBar and foo_bar have the same words in them, but they look very different.
- randallsquared 11y agoWell, sure, because one is before the "and", and one is after it. Not the difference you meant? There are all kinds of differences, but kids usually learn to mostly ignore casing (in English) for meaning when learning to read, and programming makes them unlearn that rule. There are three exceptions (that I think of offhand): starting a sentence, trademarks and acronyms, and proper nouns. The first two don't usually change the meaning much or at all, and the last is pretty much Python's class/instance rule (except reversed).
- wtetzner 11y agoThe thing is, variable names are more akin to proper nouns. They're not words, they're names.