[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r19043 - trunk/subversion/libsvn_ra_serf

From: Branko Čibej <brane_at_xbc.nu>
Date: 2006-03-27 20:33:49 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.