←back to thread

413 points martinald | 4 comments | | HN request time: 0s | source
Show context
simonw ◴[] No.46198601[source]
The cost of writing simple code has dropped 90%.

If you can reduce a problem to a point where it can be solved by simple code you can get the rest of the solution very quickly.

Reducing a problem to a point where it can be solved with simple code takes a lot of skill and experience and is generally still quite a time-consuming process.

replies(17): >>46198698 #>>46198714 #>>46198740 #>>46198844 #>>46198931 #>>46198964 #>>46199323 #>>46199413 #>>46199922 #>>46199961 #>>46200723 #>>46200892 #>>46201013 #>>46202508 #>>46202780 #>>46202957 #>>46204213 #
Terr_ ◴[] No.46199323[source]
> The cost of writing simple code has dropped 90%.

Plus there's a lot of simple code you shouldn't be writing either way, because it's in a library by now.

By their nature, LLMs will do their best with things that could be plagiarized.

replies(2): >>46199615 #>>46199631 #
mewpmewp2 ◴[] No.46199615[source]
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(2): >>46200247 #>>46203638 #
1. bluefirebrand ◴[] No.46200247[source]
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(2): >>46200720 #>>46202256 #
2. teknopaul ◴[] No.46200720[source]
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

3. mewpmewp2 ◴[] No.46202256[source]
Why should I retype something that in my life I have probably already written 10s of times?
replies(1): >>46207428 #
4. bluefirebrand ◴[] No.46207428[source]
Make your own standard library then and import that