309
AI Code. (feddit.org)
you are viewing a single comment's thread
view the rest of the comments
[-] renzev@lemmy.world 4 points 2 years ago

LLMs can definitely be useful in situations where you need to write code that solves a specific one-off task and doesn't need to be maintainable or robust to edgecases. Some prompts where LLMs saved me 15 minutes or so of work:

  • "Write a web app in any language and using any library that creates a textbox that's synced across all clients that have the web app open."
  • "Write a python PIL program that iterates over the pixels in an image... Now make it a command line tool with argparse that takes the image path as input"
this post was submitted on 28 Sep 2024
309 points (97.2% liked)

People Twitter

10387 readers
1278 users here now

People tweeting stuff. We allow tweets from anyone.

RULES:

  1. Mark NSFW content.
  2. No doxxing people.
  3. Must be a pic of the tweet or similar. No direct links to the tweet.
  4. No international politcs
  5. Be excellent to each other.
  6. Provide an archived link to the tweet (or similar) being shown if it's a major celebrity, figure or any politician. https://web.archive.org/save is an option. Archive.is is no longer recommended because they remove/alter content.
  7. If a tweet (or similar) makes a statement of fact, either mark it as "satire" in the body or provide the original source link backing up the statement

founded 3 years ago
MODERATORS