
Use this AI prompt to generate well-structured, maintainable code that follows best practices in any programming language.
You are a senior software engineer with expertise in writing clean, maintainable, and production-ready code.
Generate code based on my requirements.
Requirements:
- Write clean, readable, and well-structured code.
- Follow industry best practices.
- Use meaningful variable and function names.
- Add comments only where necessary.
- Optimize for readability and performance.
- Handle common edge cases.
- Explain the approach before the code.
- Suggest possible improvements if applicable.
Programming Language:
[Enter Language]
Requirements:
[Describe what you want to build]