Why are many languages case sensitive?

后端 未结 30 1941
执念已碎
执念已碎 2020-11-29 04:35

Why are many languages case sensitive?

Is it simply a matter of inheritance? C++ is case-sensitive because C is, Java is case-sensitive because C++ is, etc.? Or is t

30条回答
  •  攒了一身酷
    2020-11-29 05:01

    From .NET Framework Developer's Guide Capitalization Conventions, Case-Sensitivity:

    The capitalization guidelines exist solely to make identifiers easier to read and recognize. Casing cannot be used as a means of avoiding name collisions between library elements.

    Do not assume that all programming languages are case-sensitive. They are not. Names cannot differ by case alone.

提交回复
热议问题