Arguments for making identifiers
case-sensitive:
- Case sensitivity makes parsing easier.
- It provides a cleaner syntax,
- Semantically case-sensitivity offers a more consistent
code
- In many languages like German, Arabic it is not that simple to
compare lower case and uppercase Also many languages
have letters that are not in ASCII. These makes it difficult to
implement case-insensitivity
- It requires extra work for compilers to make identifiers
case-insensitive
Arguments for making identifiers
case-insensitive:
- This is more simpler as variables can be named without thinking
about the case
- In case of languages supporting case-sensitivity, two
identifiers can refer to different things, which can be
confusing(Name and name can point to different things)
- Case sensitivity can lead to erroneous code if some identifiers
are just different due to the case and one gets used at a point in
code instead of the other.
- Case-insensitivity makes codes less ambiguous by having one
name respective of cases being used only to point to one thing