729
average day in NPM land (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] mindbleach@sh.itjust.works 29 points 3 months ago

That's basically how Javascript gets extended. I put off learning jQuery for so long that all the features I'd want are now standard.

[-] dan@upvote.au 17 points 3 months ago

Vanilla JS is pretty good on the client side, but leaves a lot to be desired on the server side in Node.js, even if you include the standard Node.js modules.

For example, there's no built-in way to connect to a database of any sort, nor is there a way to easily create a basic HTTP REST API - the built in HTTP module is just raw HTTP, with no URL routing, no way to automatically JSON encode responses, no standardized error handling, no middleware layer, etc.

This means that practically every Node.js app imports third-party modules, and they vary wildly in quality. Some are fantastic, some are okay, and some are absolutely horrible yet somehow get millions of downloads per week.

this post was submitted on 31 Jul 2024
729 points (99.3% liked)

Programmer Humor

19450 readers
730 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS