
29 Sep
2016
29 Sep
'16
10:16 p.m.
On 30/09/16 4:18 AM, Joachim Durchholz wrote:
Each language does define its preferred string representation.
Java again: it has *two* string representations baked into the language. The Smalltalk system I use most has - read-only strings (preferred) - unique read-only strings - mutable strings - substrings (positionable read-only slices) - extensible strings - streams over strings - lazy concatenations of strings - read-only byte arrays viewed as strings - mutable byte arrays viewed as strings Other Smalltalks typically have four or more concrete kinds of string plus streams over strings; the substring, extensible string, and lazy concatenation libraries I use could be ported to them.