Is case sensitivity a bad artifact? It doesn't seem like it is to me anymore, but my former self sure thought so.
Is case sensitivity a bad artifact? It doesn't seem like it is to me anymore, but my former self sure thought so.
That way names would have to be referred to as written, but you would avoid the potential confusion of having multiple names that differed only in the case of their characters.
Lots of programmers would probably regard this as some terrible infringement on their freedoms but, like python's whitespace indentation, I think it might work out OK.
For example, let's say you want to write code that communicates with an arduino. You can define a class named "Arduino", that'll be instantiated on other classes, and the instances can be called "arduino", with no problems at all. On case insentive languages one has to resort to worse names, like "arduino_t", or "arduino_instance".
So variables only with variables, classes only with classes, functions only with functions?
(I.e. you can define a class called Arduino (bad name, by the way) and a variable named arduino, and it won't complain, but if you then try to define a class called "ARDUINO" or a variable named "ARDUINO" it will error out.)
I'm not decided if I like it or not.