3 ms·
I use case instead of underscore. Doesn't help the shift-issue, but reduces the length of identifiers e.g. file_not_found becomes FileNotFound.
by JoeAltmaier 15y ago
I use case instead of underscore. Doesn't help the shift-issue, but reduces the length of identifiers e.g. file_not_found becomes FileNotFound.
- Peaker 15y agoIThinkItIsObjectivelyMuchLessReadable I_think_it_is_objectively_much_more_readable The difference in length is pretty small anyway.
- RobAtticus 15y agoThat's a bit contrived considering you're (a) writing a sentence and (b) you use some really short words (i.e., "I", "It", and "Is"). I think for things like FileNotFound or similar its not really that different in readability, and comes down to preference.
- JoeAltmaier 15y agoYou get used to anything. For instance, I find your 1st example much more readable, but I've been doing it for years. Names tend to be pretty small anyway. Here are some random ones from the code I'm working on (Sococo Teamspace) CreateVariant - a method soLogWriteInfo - a method (I didn't write) clHeadSSt - a circular list head for a stream