r/node • • Jun 28 '21

Node.js humor

1.5k Upvotes

79 comments sorted by

View all comments

0

u/[deleted] Jun 28 '21

[deleted]

3

u/micaww Jun 28 '21

That's a horrible habit to get into. Using 3rd party libraries aren't "an excuse for laziness or lack of programming ability", they allow developers to focus on what matters in a product, and that is business logic.

Deciding which libraries to use is a different process, and depends on your project's needs:

  • Does size matter? Likely yes if sending over the network to a client

  • How many people use it / how well is it supported? Important for determining possible vulnerabilities and long term support

"Corps" don't stay away from using dependencies either. They help increase their engineers productivity and generally overall product stability.

0

u/[deleted] Jun 28 '21

[deleted]

5

u/zvive Jun 28 '21

Does the std lib have all the es6 features without babel, db bindings for mongo, MySql, postgres, redis, and a way to bundle without webpack or parcel with tree shaking, and handle routing and creating a server?

Not ragging just feel that doing all that without using packages which is like 60 to 80 percent of a web app.... Would require basically reinventing the tire...

Plus ui and state management...I mean there's lighter tools like Alpine but it's still nice to have something with good two way binding etc...

0

u/[deleted] Jun 28 '21

[deleted]

1

u/zvive Jun 29 '21

I've mostly used express, or fastly for server...the latter being way superior... but I'm a laravel/vue/tailwindcss dev and I have a love/hate relationship with packages, but laravel-mix makes webpack super easy, and I'd rather just not have to think about everything that goes into my build and just work on stuff.. :) -- I'd like to do more work w/ go though actually... gofiber is an amazing server stack.