5 ms·
IsTheOne() and istheone() are different bits of code.
by jsprogrammer 10y ago
IsTheOne() and istheone() are different bits of code.
- kartickv 10y agoThat's a circular argument. They are different only because the language says they are different, while the post you've responded to says (correctly) that that's bad language design.
- jsprogrammer 10y agoThe bit representation is different.
- kartickv 10y agoWhich is irrelevant, since languages are a medium of human expression, not a way to store bits on the disk.
- jsprogrammer 10y agoIrrelevant to what? The two words literally are represented with different bits (code).
- baby 10y agoAssuming you are not trolling: yes they are indeed represented with different bits, which doesn't matter since these bits are not the bits executed by the CPU in the end. The "words" and not the bits are interpreted or compiled into machine code. Which is where bits matter.
- roblev 10y agoclearly case sensitivity is a decision by the language designers. Many languages are case-insensitive. from https://en.wikipedia.org/wiki/Case_sensitivity https://en.wikipedia.org/wiki/Case_sensitivity Some computer languages are case-sensitive for their identifiers (C, C++, Java, C#, Verilog, Ruby and XML). Others are case-insensitive (i.e., not case-sensitive), such as Ada, most BASICs (an exception being BBC BASIC), Fortran, SQL and Pascal.