3 ms·
I did some VB6 coding back in the day. I simply loved it how you could write identifier without any regard to case (lowercase), and IDE would bump it to correct
by watt 10y ago
I did some VB6 coding back in the day. I simply loved it how you could write identifier without any regard to case (lowercase), and IDE would bump it to correct capitalization automatically. And when you decide to change capitalization in variable declaration, it would then re-capitalize it in your sources, sort of "rename variable" refactoring lite.
And yes, it's pretty insane that languages will treat 2 differently-cased variables as separate, or indeed even allow them. If compiler is allowed to play dumb, at least modern IDEs will flag such code, and modern lints will not allow it.
- pjmlp 10y agoVB.NET still works that way. Likewise the SQL, Oberon and Modula editors, where keywords are uppercase by convention.