Hacker News new | past | comments | ask | show | jobs | submit login

String is immutable for good reasons. It's explained in Joshua Bloch's Effective Java, which should be mandatory reading for all Java programmers.



Agreed. I cannot see anyone in this thread (blogpost or comments) that has argued for the opposite "string should be mutable".


Well, immutable classes are final. Thus, suggesting to make it abstract does suggest the opposite, IMHO.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: