On 01/28/2012 08:44 AM, Robert Dewar wrote:
On 1/27/2012 10:57 PM, Sandra Loosemore wrote:

I've checked in this patch as obvious. (Again, if anyone thinks these
kinds of edits are not obvious, let me know, and I'll start posting them
for review first instead.)

Following these dubious hyphenation rules slavishly is not a good idea.
It makes searching more erratic. I recommend never hyphenating command
line, and always hyphenating floating-point.

"Command-line option" is specified in the GCC Coding Conventions, and I don't feel empowered to change that even if I thought it's a good idea (I don't). I note that the Coding Conventions specify hyphenated "bit-field" as a noun, which grates on me as being contrary to normal usage rules, but since it's in our house style guide, "bit-field" it is. I'd certainly prefer to avoid promulgating more exceptions like "floating-point" as a noun, though, and simply follow the normal recommendations of standard references like the Chicago Manual of Style instead.

Sometimes the best idea is to just drop the hyphen completetly. It
seems for example (try google) that runtime is becoming much more
accepted than run-time or run time.

Coincidentally, "runtime" is the subject of my next patch chunk, and I had to make some judgment calls there. I'll post it for review by one of the docs maintainers instead of just checking it in.

-Sandra

Reply via email to