logoalt Hacker News

bluefirebrandlast Tuesday at 1:30 AM2 repliesview on HN

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


Replies

teknopaullast Tuesday at 2:52 AM

Bit 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

mewpmewp2last Tuesday at 7:33 AM

Why should I retype something that in my life I have probably already written 10s of times?

show 1 reply