Also note that the same issue exists in Java, where a common workaround is to use ```StringBuffer```, which is mutable.