8 ms·
Good points but this comment reeks of arrogance. It absolutely does occur in other languages, why would you assume it doesn't?
by watty 9y ago
Good points but this comment reeks of arrogance. It absolutely does occur in other languages, why would you assume it doesn't?
- meddlepal 9y agoCan you cite some examples of this in other languages? It seems to occur time and time again in JS-land, but I rarely see other languages bad libraries getting 2000+ GH stars and onto HN with this kind of garbage. FWIW. I have also always done the exact Base64 UUID op suggested when I need a shortened unique identifier...
- sametmax 9y agoTo be fair, most other high level languages have functions in their stdlib to do common stuff like hashing, generating unique id, getting data from the OS random generator, etc. JS stdlib has always be lacking in almost every possible aspects, and hence people have to reinvent the wheel again and again.