this post was submitted on 28 Sep 2024
309 points (97.2% liked)

People Twitter

5182 readers
1572 users here now

People tweeting stuff. We allow tweets from anyone.

RULES:

  1. Mark NSFW content.
  2. No doxxing people.
  3. Must be a tweet or similar
  4. No bullying or international politcs
  5. Be excellent to each other.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] renzev@lemmy.world 4 points 1 month 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"