DEV Community

[Comment from a deleted post]
 
nssimeonov profile image
Templar++

Literally ANY package manager for any other language is better than NPM. The level of entropy in JS Is just ridiculous. The amount of disks space, used by NPM is insane. The packages have crazy dependencies and the chaos there is beyond comprehension: you have packages for is-even and is-odd - one depending on the other, which on it's turn depends on is-number: npmjs.com/package/is-even

Lets talk a bit about types - dates in JS are a total joke and the only package solving this issue correctly "moment.js" is just too big to be used in front-end projects (react, vue, angular) so you have to stick to date-utils. Such a joke - this should be part of the language itself.

You have no integers, oh yes, there are some tricks but most are such insane hacks, that it's fun to see such code.

Having no static typing also makes it hard to catch spelling errors in code, when you accidentally spell a property slightly different.

Low level - please stop this. Via interop you can call C/C++ code in nearly all languages. This does not make your language low-level at all.


Now let me explain why I reacted like this - it may be a bit too harsh as reaction and I'm sorry to hurt your feelings, but you have to be objective. You may like any language and use it anyway you like. As long as it gets the job done - it's good. However you cannot put the biggest cons as pros without saying "yes this is sarcasm"