You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ics.uci.edu> on 1999/02/23 00:29:21 UTC

APRTypes

This may be just personal preference (and sore fingers) talking,
but I dislike the use of compressed, mixed-case type names in APR.
I would prefer either a single "apr_type" style for all symbols
(with the hope that the "apr_" will become invisible to the reader
after getting used to reading the code), or an "a_" prefix for types.
Yeah, I know X windows and many other libraries use the compressed
mixed-case style, but they suck to read.

The only thing I like to put in caps is #defs and macros.

Don't feel compelled to make a change -- I wouldn't ask that when
I'm not working on the code myself -- but I'd rather mention it now
than a couple months from now.

Also, a typedef for APRStatus requires a single constant for failure,
since (result < 0) would be invalid.  If that's what you want, fine.

....Roy