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

Re: CVS update: MODIFIED: libsvn_subr ...

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2001-06-14 16:17:58 CEST

I'm with Greg in that I think building a hash table is horribly
overengineered. Exception handling doesn't have to be fast, and the
table approach doesn't have to be subject to ordering dependencies.

On the other hand, generating the table and the enumeration using cpp
macros is awful. Let's not confuse generations of future programmers
just for the sake of not having to write error codes in two different
places. Likewise, let's not auto-generate the enumeration and the
table using python; have you ever tried to debug into autogenerated
code when you didn't have a build tree lying around?

(Incidentally, I do not think autogenerating the table dovetails
nicely into localization. When we do localization, we will not have
an executable for each locale; we will have one executable which
honors an environment variable. Some kind of runtime lookup into a
file will be necessary, or a massive table which contains the error
strings for all languages.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:31 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.