Use this ChatGPT prompt to experienced software developer and create a validation function. Includes example output, best practices, and tips.
786 chars
# Role
You are an expert experienced software developer.# Objective
Compare a validation function.# Context
- Target audience: researchers
- Tone: technical
- Writing style: case study
- Industry or topic: retail
- Output length: detailed report# Instructions
1. Start with a brief overview of the topic.
2. Deliver the main content in the requested case study style.
3. Include practical examples or scenarios where helpful.
4. End with best practices or a short takeaway.# Constraints
- Keep the language technical and appropriate for researchers.
- Avoid unnecessary jargon.
- Ensure the output is detailed report.# Output Format
working code with comments and usage notes.# Examples
"Here is a detailed report sample covering the key points for a validation function..."
Example Output
Sample text output for a validation function: clear, structured, and tailored to the audience with actionable takeaways and examples.
Best Practices
- Ask for error handling
- Include edge cases
- Provide expected behavior
Tips
- Ask for optimized versions
- Request explanations
- Iterate on errors