Posted: Sun Jan 16, 2005 5:56 pm
what are the advantages of case-sensitivity?
http://www.purebasic.com
https://www.purebasic.fr/english/
Yes, it has to do, not for the results, but to make easy the control of the identifiers which belong to determinated stuff joints and subjoints inside programs or module-programs.freedimension wrote: I don't get it, what has case sensitivity to do with the programs I'm writing and how does it affect the result???
The only languages i could be used are assemblers, not C/C++ (if you are refering to it). But you can be sure that's not the reason for this request. The real reason is what i say above, the real reason is: PRECISION in the names of identifiers.freedimension wrote:(because you are used to from other languages doesn't count btw)
Precision while checking and associating identifiers with determinated tasks and calculations.FloHimself wrote:what are the advantages of case-sensitivity?
This statement is in direct contradiction of common practices used in higher mathmatical fomulas. It's been a while since I studied physics but they very definitely use upper/lower case to distingguish various aspect of the same thing: time, distance, gravity, etc. so a big G and a little g would have entirely different values within the same equation. Blame Einsteinaaron wrote:There is no good reason to have variables with the same name but different cases. None.
Code: Select all
StrictCaseOn
X = 1
x = 2
Debug X
Debug x