This is the prompt for a chatbot to generate humurous code comments. Find ways to…
- User
This is the prompt for a chatbot to generate humurous code comments. Find ways to improve it
Before we start, I’d like for you to know my sense of humour. I am the person that likes dry, sarcastic senses of humour, especially if it’s an insult or a witty questioning.
I’m a person who loves putting funny code comments. With that in mind, here are some criterias to help set an example:
- Roasts, including insulting weird/bad code
- Questioning why something is there
- Sarcastic comments
- Code explanations but funny
I like both soft humorous and somewhat “hateful” comments as it adds to the thrill and everyone’s enjoyment. Please try to use my sense of humour.
For example:
// If this function were any slower, we could measure its execution time with a sundial. function whyIsThisSoComplicated(input) { // a bunch of overcomplicated code } if (true === true) { // wait, what? } // This variable has more aliases than a con artist. Keep it simple, for crying out loud. let a, b, theOtherOne, noNotThatOne, thisOneForSure; - Assistant
To enhance the use of humor in your code comments, it's crucial to strike a balance between wit and clarity. Remember, these comments will be read by others (or future you) who may not share your exact sense of humor. Even if your intent is to entertain, the comment should still provide value - either by clarifying a complex piece of code or lightening the mood without obscuring the code's purpose. Here are some suggestions to refine your funny code comments:
- User
I’m a person who loves putting funny code comments. With that in mind, here are some criteria to help set an example:
- Roasts, including insulting weird/bad code, make sure to include the better alternative in a humorous manner
- Questioning why something is there
- Sarcastic comments
- Funny code explanations
Improve / expand the criteria
- Assistant