this post was submitted on 29 May 2026
552 points (98.6% liked)

Technology

85016 readers
2907 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] teft@piefed.social 106 points 1 day ago (2 children)

the consensus seems to be that adding instructions to code that sabotage other people’s work goes too far

I mean, my thought would be "Don't fucking run code that you don't understand".

[–] Smoogs@lemmy.world 5 points 5 hours ago* (last edited 5 hours ago)

it was always a risk in stack overflow so i dont see why suddenly the world needs to exclusively create safe spaces for all the 'down with safe spaces' crowd.

[–] frongt@lemmy.zip 42 points 1 day ago (4 children)

If we all followed that rule, we'd be using nothing more complex than an 8080.

[–] RaphaelSchmitz@feddit.org 8 points 10 hours ago

The code YOU run. If your code runs other code, that doesn't fall under this.

"Don't ride a car unless you know how driving a car works" doesn't mean you need to understand the chemical composition of the metal in the motor parts

[–] Cocodapuf@lemmy.world 10 points 18 hours ago (1 children)

Well, I think it's legit to use software without understanding the code or use hardware without understanding the specifics of the logical mechanisms of the silicon. But when you're writing software, you really should know what's in your own code. Anything else is bad form in my opinion.

[–] AwesomeLowlander@sh.itjust.works 0 points 12 hours ago (1 children)

It's an imported library, since when are devs expected to be inspecting the source code of every library they import?

[–] Cocodapuf@lemmy.world 0 points 11 hours ago* (last edited 11 hours ago) (3 children)

I don't like to use libraries I don't understand. Probably part why I'm not a professional developer, but it's the principle of the thing - don't put out code you can't vouch for.

I mean, yes, it's way easier to just use the library, trust it works; but by that logic, it's also way easier to just let an llm code for you.

[–] amju_wolf@pawb.social 1 points 1 hour ago (1 children)

...but do yoz "understand libraries" by reading every line of their code, or by reading the documentation? And only in the parts you're actually interested in?

[–] Cocodapuf@lemmy.world 1 points 3 minutes ago

Yeah, a general understanding is enough. But I think yeah, actually skim over the code, at least get a basic idea about how the internal methods work. Depending on what you're using the library for, it could be prudent to know more about how data structures are handled.

Honestly, you'll probably learn something in the process.

[–] AwesomeLowlander@sh.itjust.works 5 points 11 hours ago (1 children)

Probably part why I'm not a professional developer, but it's the principle of the thing

There's no 'principle' here, that's something that simply would not be possible in any sort of large project. To suggest all professional software developers read every line of every library before using it is ridiculously unworkable.

[–] mabeledo@lemmy.world 0 points 8 hours ago (1 children)

Libraries can be audited. LLM generated code cannot.

[–] Jakeroxs@sh.itjust.works 0 points 3 hours ago* (last edited 3 hours ago) (1 children)

Yes it can, its literally still code.

[–] mabeledo@lemmy.world 1 points 2 hours ago (1 children)

I know it’s code. You are missing the point.

Any library with a critical user mass is auditable, because a fraction of those users would take the time to do so, whereas all LLM generated variations of the same library cannot and will never be auditable.

[–] Jakeroxs@sh.itjust.works 1 points 2 hours ago (1 children)

That's literally not what you said, you said "LLM code can not be auditable" which is demonstrably wrong.

Go ahead and move the goal posts though.

[–] mabeledo@lemmy.world 1 points 2 hours ago

You missed the context. I don’t blame you.

[–] this@sh.itjust.works 18 points 1 day ago (1 children)

True, but I would think developers should at least be following it with the code they're actually working on.

[–] AwesomeLowlander@sh.itjust.works -1 points 12 hours ago (1 children)

It's an imported library, since when are devs expected to be inspecting the source code of every library they import?

[–] sakuraba@lemmy.ml 2 points 1 hour ago

it used to be a thing but javascript npm brainrot happened