Browse thread
RE: [Caml-list] String to list to string
- Harrison, John R
[
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-10 (19:51) |
From: | Harrison, John R <johnh@i...> |
Subject: | RE: [Caml-list] String to list to string |
| > ...I consider OCaml's mutable strings a far worse design error. | | That's interesting. Why? Because it destroys persistence, one of the most fundamental advantages of functional programming. Any function I call with a string argument can choose to modify it, and cause side-effects elsewhere. Even Java has immutable strings, doesn't it? And I notice this feature of OCaml is fixed in F#. All for very sound reasons, in my opinion. John.