News for hackers. Stuff that matters.
Re:The complete guide to working with strings in modern Java... by greggturkington on Tuesday April 13, 2021 @11:38AM (#26793789)
Primarily for adding properties, and making objects that can be inherited from (unlike primitives). This is a great answer with even more cases:

https://stackoverflow.com/a/39113022/110241

Re:The complete guide to working with strings in modern Java... by mgerullis on Tuesday April 13, 2021 @12:31PM (#26794899)
> Primarily for adding properties

I personally would never expect a property which is treated as a string. That's what POJOs are for, but that is just opinion I guess. still weird they let you do this.

> and making objects that can be inherited from (unlike primitives).

I mean the SO gives an example of how to do it but I would still love to see some place where this is needed or even pragmatic to any degree.