httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ics.uci.edu>
Subject APRTypes
Date Mon, 22 Feb 1999 23:29:21 GMT
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

Mime
View raw message