Re: Overuse of strings Lauri Alanko (24 Jan 2006 17:59 UTC)
Re: Overuse of strings Per Bothner (24 Jan 2006 19:51 UTC)
Re: Overuse of strings Alan Bawden (25 Jan 2006 00:44 UTC)
Re: Overuse of strings Alex Shinn (25 Jan 2006 01:39 UTC)
Re: Overuse of strings Per Bothner (25 Jan 2006 02:04 UTC)
Re: Overuse of strings Alan Bawden (25 Jan 2006 02:50 UTC)
Re: Overuse of strings Lauri Alanko (25 Jan 2006 18:19 UTC)
Re: Overuse of strings Neil Van Dyke (25 Jan 2006 19:07 UTC)
Re: Overuse of strings bear (25 Jan 2006 22:40 UTC)
Re: Overuse of strings Lauri Alanko (26 Jan 2006 07:35 UTC)
Re: Overuse of strings Alex Shinn (26 Jan 2006 01:37 UTC)
Re: Overuse of strings Neil Van Dyke (26 Jan 2006 02:03 UTC)
Re: Overuse of strings Anton van Straaten (26 Jan 2006 10:09 UTC)
Re: Overuse of strings Lauri Alanko (26 Jan 2006 10:25 UTC)
Re: Overuse of strings Alex Shinn (26 Jan 2006 02:17 UTC)
Re: Overuse of strings Ray Blaak (26 Jan 2006 06:56 UTC)

Re: Overuse of strings Lauri Alanko 26 Jan 2006 07:35 UTC

On Wed, Jan 25, 2006 at 02:40:08PM -0800, bear wrote:
> But if we're to leave URI's polymorphic (admitting of two
> or more syntaxes/structures), does it still make sense to
> use them to identify modules?

Why not? Have a syntax for URIs that includes both list structures and
strings. Then you can say either

(scheme "mydomain.org" (/ name of my module))
or
"scheme://mydomain.org/name/of/my/module"

whichever suits you best. Of course a style guideline should encourage
one over the other.

(Actually, I'm working on a s-expression -based URI syntax right now.
The more I delve into rfc3986 the more convinced I am that switching
from the string mush into something else can only improve one's sanity.)

> I don't, in general, like a module naming convention that
> strongly hints that the modules are to be found over a
> network; some very intelligent idiot is bound to think
> a single code repository is a good idea and subvert
> security on entire networks if a cracker can get to it.

You must not like Alice then?
http://www.ps.uni-sb.de/alice/manual/components.html

To me, too, the idea of using URIs as library identifiers has a strong
smell of distributed components. If no other schemes but "scheme" were
ever used, there would be no point of using such a general format as URI
which allows other schemes too. I'm not sure whether this is a bad thing
or not, though.

Lauri