DEV Community

Discussion on: Extending the String Prototype in JavaScript & TypeScript

Collapse
 
prashanth1k profile image
Prashanth Krishnamurthy

Well explained.

A really big problem is tracking all that "cool stuff" in the code-base. A new-comer just seems confused about why a particular "feature" works in one place and not the other. And, you also run the risk of conflicting with a future update (small risk over the course of years, if not decades).

My comment seems snobbish on the second run - wasn't my intent though.