News for hackers. Stuff that matters.
Re:AI-enhanced development makes me more ambitious with my p... by vidarh on Friday March 31, 2023 @04:09AM (#35384106)
> As an AI language model, I'm unable to write full code examples

The example prompt is clearly asking for too much in one go, but this objection is trivial to overcome for anything not specifically hitting guardrails (and sometimes for those too) by telling it to act as if it's a [insert various roles to try].

Re:AI-enhanced development makes me more ambitious with my p... by akiselev on Friday March 31, 2023 @12:10PM (#35389257)
This is the prompt prefix I use for extensive GPT4 coding projects:

    You are an AI programming assistant.
    - Follow the user's requirements carefully & totally
    - First think step-by-step -- describe your plan first, then build in pseudocode, written in great detail
    - Then output the code in a single codeblock
    - Minimize any other prose