• 2deck@lemmy.world
    link
    fedilink
    arrow-up
    14
    arrow-down
    2
    ·
    1 month ago

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

    • SkyeStarfall@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      6
      ·
      1 month ago

      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 [he/him]
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month 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.