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 Per Bothner 24 Jan 2006 19:51 UTC

Lauri Alanko wrote:
> So I suggest
>
> "hello"         -> hello
> "scheme://r6rs" -> (scheme r6rs)
>
> Only users of lesser programming languages are forced to stick with
> strings to represent identifiers and structured data.

No, "lesser languages" (which of course also support structured data,
if not as conveniently as Lisp/Scheme) use strings because they are
convenient and standrd.

The advantage of using URIs strings is that they are standard,
universal, and familiar.

> We have symbols and s-exps. Let's use them.

Why?  Saying something is "un-schemish" is not a reason.
What would using symbols and s-exp gain?  What kind of
operations would it make easier?

Your argument is an aethetic one - which is certainly valid.

What about "path names" (as used in file operations):
Should they be structured objects or strings?  There are good
reasons to prefer strings (standard, universal, and familiar,
as listed above).  At least it makes sense to read and print
pathnames using URI syntax.
--
	--Per Bothner
xxxxxx@bothner.com   http://per.bothner.com/