Remix.run Logo
▲ Apocryphon 5 hours ago

NPM and Left-Pad: Have We Forgotten How to Program? (http://www.haneycodes.net/npm-left-pad-have-we-forgotten-how...)

1725 points|df07|11 years ago|854 comments

https://news.ycombinator.com/item?id=11348798

Obviously entrusting an entity to do everything is different from using a dependency or library, but aren’t LLMs for work just a natural progression of this? Programming is about automation. Programmers have been automating and outsourcing their work since the concept of SDKs were invented. Or even since high-level languages were invented. The industry was already doing this, and doing it excessively, long before Claude. left-pad happened a decade ago and we’ve learned nothing.

▲IshKebab 4 hours ago | parent [-]

Not really. Even with left-pad there was still some skilled work required. At this point my wife could vibe code an app or a website and it would be actually quite good - not the slop of 6 months ago.

▲Apocryphon 2 hours ago | parent | next [-]

Writing left-pad isn't the issue, the issue is that projects were importing a one-liner package and blindly using it, which requires no skill.

> Second, even if the package’s logic is correct, I can’t help but be amazed by the fact that developers are taking on dependencies for single line functions that they should be able to write with their eyes closed. In my opinion, if you cannot write a left-pad, is-positive-integer, or isArray function in 5 minutes flat (including the time you spend Googling), then you don’t actually know how to code. Hell, any of these would make a great code screening interview question to determine whether or not a candidate can code.

> Finally, stringing APIs together and calling it programming doesn’t make it programming. It’s some crazy form of dependency hacking that involves the cloud, over-engineering things, and complexity far beyond what’s actually needed.

Obviously LLMs make the situation even more dire, but I think people are overlooking that the industry was automating itself out of programming as a craft even before them. It's just the automation involved reuse of the work of other humans.

▲IshKebab 2 hours ago | parent [-]

Sorry but there's no way that assembling libraries - even stupid ones like left-pad (which I'll note was an extreme example) - is in no way comparable to just saying "Claude make this program for me", which is pretty much where we are now. My wife can do the latter but not the former.

This isn't just "a bit more automation". It's "now we don't need lift operators".

▲ 2 hours ago | parent | prev [-]
[deleted]