4 ms·
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 actual
by mewpmewp2 11mo ago
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?).
- bluefirebrand 11mo agoFrankly 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
- teknopaul 11mo agoBit harsh. That was probably a node / npm thing, because they had no stdlib it was quite common to have many small libraries. I consider it an absolute golden rule for coding to not write unnecessary code & don't write collections. I still see a lot of C that ought not to have been written. I'm a grey beard, and don't fear for my job. But not relying on AI if it's faster to write, is as silly as refusing a correct autocomplete and typing it by hand. The bytes don't come out better
- mewpmewp2 11mo agoWhy should I retype something that in my life I have probably already written 10s of times?
- bluefirebrand 11mo agoMake your own standard library then and import that
- rsynnott 11mo agoThat'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.)