• renzev@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months 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”