diff options
author | Paul Phillips <paulp@improving.org> | 2010-03-23 19:13:43 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-03-23 19:13:43 +0000 |
commit | f52d79f1fb5cda9ea79041b6ba628a678db99162 (patch) | |
tree | fcf367d93b3bc4ddfb5d3b197c71fed5ed5310c3 /src/dbc | |
parent | 10be8dc7854ad1c7a21d86e0e3675d5231384aa5 (diff) | |
download | scala-f52d79f1fb5cda9ea79041b6ba628a678db99162.tar.gz scala-f52d79f1fb5cda9ea79041b6ba628a678db99162.tar.bz2 scala-f52d79f1fb5cda9ea79041b6ba628a678db99162.zip |
You know Cutty McPastington is having a good ti...
You know Cutty McPastington is having a good time when you can find this
logic in two different files:
('A' <= c && c <= 'Z') ||
('a' <= c && c <= 'a') ||
How could that possibly work, you might ask. After a series of ||s, the
last condition subsumes most of the previous ones:
Character.isUnicodeIdentifierStart(c)
thereby saving us from a world where the only legal lower case
identifiers are a, aa, aaa, aaaa, and a few others. No review.
Diffstat (limited to 'src/dbc')
0 files changed, 0 insertions, 0 deletions