At a minimum, there are more multi-word identifiers than there are
statements involving subtraction. Further, '-' is basic, while all of
[_A-Z] are not.
Ergo, a multi-word-identifier is easier to type than a
multi_word_identifier or a multiWordIdentifier.
The older I get, the more I like Cobol, and now *ML, for getting this
stuff right.
=Austin
John M. Dlugosz wrote:
E.g. see <http://www.perlmonks.org/?node_id=703265> :
sub bar {
return 100;
}
sub foo { 50;}
sub foo-bar {
return rand(50);
}
if (foo - bar != foo-bar) {
print "Haha!\n";
}