Hacker News new | ask | show | jobs
by stevage 94 days ago
It depends a lot what kind of thing you're building. If it's a simple marketing website, sure. But any application that does stuff is likely using dependencies that provide a lot of functionality.

I make a lot of sites with maps. There's no real alternative to mapbox/maplibre/openlayers.

1 comments

That should be self-evident and obvious, but apparently it still needs to be pointed out.

On one extreme, you have the current world where there are millions of 1-line or 1-function packages like leftPad and isArray.

On the other extreme, there are no packages and everyone builds everything from scratch, every single time.

It should not be controversial or groundbreaking to suggest that perhaps there is a reasonable middle ground in between! Someone builds a substantial piece of functionality, and it can be reused.