Nodejs has a Dirty Secret #nodejs #javascript #unclestef

preview_player
Показать описание
🔥 STEF'S DEVELOPER BOOTCAMP AND MENTORING PROGRAM

🔥 JOIN STEF'S 'CODER'S CAREER PATHS' NEWSLETTER:

🔥 FREE: LIZARD WIZARD KOMODO - TRANSFORMATIONAL MIND TRAINING:

*************

WEB HOST PAYS FOR YOUR WEB DESIGN TRAINING IN 2023:

POPULAR & EASY CODING COURSES:

*************

🦎 Lizard Wizard Course:

📚 BOOKS TO READ:
… Complements Studioweb courses on HTML5, CSS3 and JavaScript.

The Naked Ape:

✉️ STAY IN CONTACT:
Stef's social links:

Stef's business channel:

👉 GOOGLE REVIEW:
Leave a Google review about Stef.

MY MOUSE & KEYBOARD:

SUPPLEMENTS THAT WORK AMAZING FOR ME:

Protein Essentials Beef Gelatine Powder:

... Healed my very bad knee. If you have joint problems, this *could do miracles for you.

Webber Naturals 88862 Glucosamine Chondroitin

MY CAMERA GEAR:
Canon EOS C70 Cinema Camera

Thanks!

Stef

#mentoring #codecourses #unclestef #codingcoach
Рекомендации по теме
Комментарии
Автор

That's why you should be extra careful when picking your dependencies, and ideally build in some abstractions that let you swap them easily.

vaxrvaxr
Автор

You know it’s bad when even the founder is like “nah, this is no good”.

franko
Автор

Haha, that’s why I keep pumping out front ends in PHp, everyone laughs but my sites keep chugging along.

AFuller
Автор

I love good objective information on the positives and the negatives on different options. Thanks.

dvdragon
Автор

If a developer isn't specifying an exact version in their package manager, and is not commiting a lock file in their repo (hence, not specifying versions for deployments), then the ensuing onslaught of instability is well deserved. That holds true of NPM, Composer, or any other package manager. Blaming a platform for developer mistakes is, dare I say, a lesser version of reality.

JabariHunt
Автор

This hasn't happened to any of my apps in 5 years. If you are worried about this then I just wouldn't touch code at all and try a different career path.

Behold-the-Florist
Автор

For me, it is much better to create custom packages similar to those available on npm, such as packages for validation, error handling, and more.

jggabayno
Автор

I was a huge Node fan back then (after running from PHP of course). Right now that ecosystem is too chaotic, I'd pick PHP over Node.

techietenka
Автор

Doesn't any ecosystem that provides 3rd party packages have the same problem? NuGet?

danielroth
Автор

That has nothing to do with Node as a technology. Same thing has happened with PHP and Java since forever.

nvictorme
Автор

Doest this happen with most updates, version control is supposed to handle this im confused… does nodejs update itself in your app 🤔

saturnteatree
Автор

Didn't work with nodejs in some time but don't you have option to use specific version of a package and not have it updated?

azarak
Автор

I think you can vendor your modules by commiting node_module, using 'npm ci', 'npm shrinkwrap'. Though your mileage may vary and it's not ideal

nightshade
Автор

Just roll back the change maybe. I don't know.

echuderewicz
Автор

Theres too many fucking packages. There was a package that did. Simple thing and i thought it was not too risky to use it, but it relied on a package that only split strings by commas. Why would it choose to rely on a whole other package for that!!! So that package disappeared or something and now the package i was using doesn't install and it was never fixed. I had to go in and fix it myself in the 3 places it was using that basic ass string split function.

I think the source of the problem is no different from the reason why I get invited to 40 empty ass discords every hour of every day. People want clout. They want their name on something everyone else is using.

myztazynizta
Автор

What did the founder of NodeJS move onto afterwards ?

cryptocsguy
Автор

Yeah this is the worst thing about npm no doubt. Using Node Version Manager to get around it helps

ArbitraryZer
Автор

This dude does not even know how node & npm work haha, if someone updates a dependency that does not break anything in nodejs apps. you would need to install the new version by hand and test locally before deploying.

misterfister
Автор

Well, shit doesn't work like that XD. Educate yourself before spreading your knowledge

Jam-htky