DEV Community

Discussion on: What's the worst part about the JS ecosystem?

Collapse
 
michaelcurrin profile image
Michael Currin

If I'm allowed to pick a minor thing as a second answer...

I don't like the naming with an extension.

Like Node.js

It is not the name of a file.

react.js, vue.js, next.js... is not the name of a file. Well maybe sometimes but usually it is vue-1.2.3-esm.js or whatever as a long name

So why add extension?

We don't call it pandas.py, requests.py or grails.jar or rails.rb in other languages. Yes Python packages have Py names sometimes like Pygame or Numpy but that is fun and artistic and doesn't go to extension level.


And Node and Node.js and NodeJS are all (sort of) correct spellings.

And some say Node dot JS aloud. It sounded so verbose on NextConf for the presenters to say Next dot JS all the time when it is clear from the context and "Next" would be fine.


Typing "next.js" is the common way for packages while "DocsifyJS" is the preferred way of some packages like in Docsify docs.