this post was submitted on 26 Feb 2025
708 points (97.7% liked)

Programmer Humor

24957 readers
1949 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 2deck@lemmy.world 12 points 4 months ago (3 children)

If you're having to do repetitive shit, you might reconsider your approach.

[–] SkyeStarfall@lemmy.blahaj.zone 6 points 4 months ago (1 children)

Depending on the situation, repetitive shit might be unavoidable

Usually you can solve the issue by using regex, but regex can be difficult to work with as well

[–] stilgar 2 points 4 months ago

I've tried this, to convert a large json file to simplified yaml. It was riddled with hallucinations and mistakes even for this simple, deterministic, verifiable task.