Act as a code reviewer. Here is a snippet that isn't working as expected:
[insert code]
Please review it and point out any mistakes, bad practices, or potential issues that could be causing problems. Provide suggestions for improvement and explain your reasoning.
Prompt the AI to role-play as a meticulous code reviewer. It will analyze your code for bugs, bad practices, and potential improvements, providing a thorough and systematic review.