Currently one can name your classes like so: ControlIn
And it is unreadable! Inside it is just L and i, but we cannot tell it from the word.
We need to forbid lowercase l followed by uppercase I
Readability matters!
Are there any other letters that behave like that?
Fill1List.Memo0OutputIl.Also there are letters (Unicode codepoints) which are different but look just the same.
For example, there's Latin A, Greek 螒, Cyrillic 袗.
But actually, let's just ban any letters outside the standard ASCII set. Anything which requires using non-English keyboard layout, anything which has modifiers. And emojis. Emojis are the worst.
Thanks!
I (i uppercase) and l (L lowercase) should be banned too!1? It does not look similar to l or Lo and 0 and O?l1I and 0O are distinguishable, but still risky. Probably, a warning?
We don't have warnings. Errors are better!
Anyone is working on this?
No, @kennycontreras feel free to take this one! Ask any questions you have.
Hi. Could I take the issue?
@Kvm99 Yes please, I don't have much time at the moment so I'll leave it for now.
@kennycontreras no worries, come back when you will have the time! 馃憤
@Kvm99 thanks a lot! Assigned!
Most helpful comment
We don't have warnings. Errors are better!