by jacquesm · 10y ago · 0 comments
That it's imperative code is something that I don't think is damning by itself but all the side-effects (including side effects based on a single bit in the name of a function) really do warrant the 'accident waiting to happen'.
Are you saying that function names should be case-insensitive?
Some language features you best not exploit if you want to write reliable and bug-free (to whatever extent possible) code.
This is not a typo so much as it is a very poor choice of naming convention.
If you think otherwise, in what situation would it make sense to have two functions with names differing only in case? No upside, only a downside.