Browse thread
RE: [Caml-list] String to list to string
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-02-11 (01:22) |
From: | skaller <skaller@u...> |
Subject: | Re: [Caml-list] String to list to string |
On Fri, 2005-02-11 at 06:28, Jon Harrop wrote: > On Thursday 10 February 2005 18:35, Harrison, John R wrote: > > ...I consider OCaml's mutable strings a far worse design error. > > That's interesting. Why? Because it makes the worst possible compromise. Throws out transparency/persistence and fails to allow any length changing operations, which are common for strings -- overwriting strings is rarely needed. The only use I can think of is as a buffer (and we have Buffer module for that, and it also allows variable length) -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net