Hacker News new | ask | show | jobs
by rafram 396 days ago
> You might also need to update some of your type checks to handle wrapper objects like new String()

There’s genuinely never a reason to use new String(). You should treat non-primitive String instances as bugs.

1 comments

Can you explain a little? I've never heard this.