Pitfall - Calling new StringString is inefficient

suggest change

Using new String(String) to duplicate a string is inefficient and almost always unnecessary.

In the absence of any tangible benefit, calling new String(String) is simply wasteful:

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents