Network.URI changes
Simon Marlow
simonmar at microsoft.com
Fri Oct 22 04:01:33 EDT 2004
[ adding Graham to CC list, just in case you're not on cvs-libraries ]
On 21 October 2004 17:52, Sven Panne wrote:
> Two small remarks/questions about the new Network.URI:
>
> * I'm a little bit unhappy with the current spelling "fooUri" vs.
> "fooURI", both are used randomly in the module. I'd vote for a
> consistent usage of "fooURI", this is consistent with the rest
> of the hierarchical libs. An implication of this would be the
> need to invent a new name for "parseUri", because "parseURI" is
> already taken by an old function.
Our general policy is to use the capitalised version of acronyms (ie.
URI rather than Uri), but there are many exceptions to this in the
libraries already. But sometimes the capitalised version looks ugly,
especially when it occurs in the middle of an identifier.
I'm inclined to agree with Sven here. Graham?
perhaps stringToURI instead of parseURI?
> * Should we deprecate parseURI, scheme, authority, path, query,
> and fragment?
Yes.
Cheers,
Simon
More information about the Cvs-libraries
mailing list