logoalt Hacker News

mewpmewp2last Tuesday at 12:15 AM2 repliesview on HN

Aren't we having major issues with there being too many small libraries right now and dependency chain that grows exponentially? I have thought LLMs will actually benefit us a lot here, with not having to use a lib for every little thing (leftpad etc?).


Replies

rsynnottlast Tuesday at 11:20 AM

That's primarily a culture problem, mostly with Javascript (you don't really see the same issue in most language ecosystems). Having lots of tiny libraries is bad, but writing things covered by libraries instead of using _sensible_ libraries is also bad.

(IMO Javascript desperately needs an equivalent to Boost, or at the very least something like Apache Commons.)

bluefirebrandlast Tuesday at 1:30 AM

Frankly if you were relying on libraries like Leftpad to you probably had no business writing code before AI

And if you rely on AI to write that code now you still have no business writing code

show 2 replies