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

Re: date parser

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2004-01-07 15:28:12 CET

Greg Stein wrote:
> ...
> I believe the proper resolution is to recognize that the date formats
> are just another "contract" (to borrow ghudson's terms w.r.t APIs).
> SVN will make certain guarantees about specific forms of input. Pass
> something else at your own risk. If you depend upon behavior outside
> of the contract, then too bad if we need to alter code. We do this in
> many areas of the code. Where we find implicit contracts, then we try
> to document those to make them explicit. I'd like to posit that we're
> in the exact same situation here.

It's not the "exact same situtation" because it does more than just restrict
use of an interface, it also removes functionality. If you're going to
remove the ability for users to use dates like "yesterday" or "3 weeks ago"
or whatever, doing it before 1.0 will likely tick off a smaller number of
users and be easier to justify to them.

I don't have an opinion on the bigger issue. The current date parser is ugly
on so many levels, but the risks of replacing it now are also obvious.

- Russ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 7 15:28:58 2004

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.