9 ms·
could you elaborate more about using node and npm
by rajeemcariazo 11y ago
could you elaborate more about using node and npm
- forgottenacc56 11y agoI used to hate npm with the burning heat of a thousand supernovas. I think maybe they changed the way it works because now it tends to work instead of assaulting you viciously with a massive cascade of dependency errors every time you try to install a package. Until recently it was quite the absolute worst experience of software ever for me and I used DOS and Windows 1.0. Every time I realized I had to use npm I would be filled with deep dread and the knowledge that I was about to have my time burned in a bonfire of errors, confusion and complexity. Someone needs to make a sincere apology for npm. Why has it not bothered me lately? Either it has been improved or I am using it differently somehow.
- davidgl 11y agohttps://en.wikipedia.org/wiki/Learned_helplessness https://en.wikipedia.org/wiki/Learned_helplessness :D
- pmarreck 11y agoWhen I learned of this concept in college, I suddenly realized why it was so hard to convince Windows people to go Mac. ;)
- antoniuschan99 11y agoWere the issues way back in 2012/2013?
- romanovcode 11y agoJavascript was designed so that clown on your website moves when you click on it.
- forgottenacc56 11y agoJavaScript is actually an incredibly flexible and effective language.
- geniium 11y agoYes sir!
- lr4444lr 11y agoREALLY flexible... https://www.jwz.org/blog/2010/10/every-day-i-learn-something-new-and-stupid/ https://www.jwz.org/blog/2010/10/every-day-i-learn-something...
- wtbob 11y ago> JavaScript is actually an incredibly flexible and effective language. == vs === No integers. Assignment is declaration. Prototypes. Curly brackets & semicolons. Semicolon insertion. It may be flexible (in the sense that an Alfa Romeo driven into a telephone pole at 120 mph is flexible), but it sure as heck ain't effective. JavaScript is the great shame of the computing industry: that it exists, and that it is used, and that it is used in more than just the browser, is an indictment of our entire profession. JavaScript: take off and nuke it from orbit. It's the only way to be sure. JavaScript: you'll envy the dead. JavaScript: a mistake, carried out past the point of absurdity.
- abysmal_cynic 11y agoYour assertion that the language is not effective appears false. ALL the major players and financial forces in our industry have put time and effort into quite solid solutions built with JavaScript, rather than solving those problems other ways (and in some cases AFTER trying to solve those same problems other ways). Two of those companies build browsers and sit on the W3C and WHATWG. They could have presented both suggestions for alternatives and lobbied as hard as anyone can for their adoption. Neither did that.
- gear54rus 11y ago
- friendzis 11y agoI am not node developer, but I don't think it solves the problems it is supposed to. Serving pages rendered with node via webserver (nginx, apache) is not the most pleasant experience compared to e.g. python + wsgi npm packages are not packages. It is simply a dependency definition + repository. Pull in package from npm and it is nowhere near usable until you figure out where it actually puts the files you care. You only know it's somewhere in `node_pacakges/`. Compare to e.g. gulp or python pip. You just pull in a package and it's usable.
- moron4hire 11y agoYou are right, you're not a node developer.
- honua 11y ago> Pull in package from npm and it is nowhere near usable until you figure out where it actually puts the files you care. You only know it's somewhere in `node_pacakges/`. Not usable for what? All you need to do is `npm install package` then in your project `const package = require('package')` and it's usable. Also, it's `node_modules`, and gulp itself is a task runner for... Node, so I don't understand your point there.