Justin Erenkrantz wrote:
> On 3/27/06, Branko Čibej <brane@xbc.nu> wrote:
>
>> Sorry if this is a newbie question, but why are you using magic numbers
>> instead of defined constants for the error codes?
>>
>
> These numbers can't change without violating the spec. Plus, unlike
> httpd, neither neon or serf have constants for the HTTP status codes.
> (Look at all of the 201 and 204s in ra_dav too.)
>
> *shrug* -- justin
>
"If it was hard to write, it should be hard to read." Maybe we should
reimplement in REP (Really Efficient Perl) (TM); or, good heavens, APL. :)
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 27 20:34:16 2006