Generate code:
- Create a [language] script to parse [file format] and extract [information] with the following requirements: [requirements list].
- Develop a [language] microservice for [domain] that includes endpoints for [operations list] and adheres to [design pattern].
- Write a [language] function to filter [data structure] based on [condition] with the following inputs: [input variables] and expected output: [output description].
- Design a [language] algorithm to solve [problem] using [strategy or technique].Implement a [language] function that handles [task] asynchronously with the following inputs: [input variables] and expected output: [output description].
Code completion:
- Complete the [language] code to parse [file format] and extract [information]: [code snippet].
- Finish the [language] implementation of [design pattern] for [use case]: [code snippet].
- Fill in the missing [language] code to implement a caching mechanism for the following function: [code snippet].
- Complete the [language] code to convert [data structure] into [output format]: [code snippet].
- Finish the [language] implementation of a multithreading solution for [problem]: [code snippet].
References :
https://www.greataiprompts.com/chat-gpt/best-coding-prompts-for-chat-gpt/