CS 3304: Comparative Languages
Names and Binding
[
Course Documents
] : [
Names and Binding
]
Previous
Contents
Next
Keyword Index
More Design Issues
Case sensitivity
Disadvantage: readability (names that look alike are different)
worse in Modula-2 because predefined names are mixed case (e.g. WriteCard)
C, C++, Java, and Modula-2 names are case sensitive
Names in most other languages are not
Special words
A
keyword
is a word that is special only in certain contexts
Disadvantage: poor readability
A
reserved word
is a special word that cannot be used as a user-defined name