Pros and cons of immutable strings

Viewed 1300

Some languages (C# or Java) have immutable strings while others (e.g. Ruby) have mutable ones. What are the reasons behind those desgin choices?

4 Answers
Related