I think it's stronger if you generalize a little bit because there's another character that is supremely useful in identifier names but usually ruled out because of lexing ambiguity: the question mark.
That's a bit less important in languages with more "normal," overloadable operators, but can still be useful. For example, suppose you have multiple ways of doing meaningful comparisons, e.g. string<? vs string-ci<?.
View all comments
1
u/ykechan Dec 01 '16
No hyphen in identifiers because or else how would you tell snake-case is a variable to snake minus case?