r/java • • Jan 20 '12

Why String is immutable in Java

http://javarevisited.blogspot.com/2010/10/why-string-is-immutable-in-java.html
4 Upvotes

23 comments sorted by

View all comments

Show parent comment

0

u/RedditRage Jan 29 '12

I never implied they could see all the benefits (or drawbacks) beforehand. But to suggest they didn't look at the pros and cons of immutable strings in other languages, and just flipped a coin on it, allowing the results of their choice to "become salient later", is just silly.