Prompt template
Run these steps in order.
01
Identify the programming language of the provided code. 02
Show the part of the code that can be optimized, adhering to best practices for the identified language. 03
Explain why this part needs optimization based on language-specific considerations. 04
Rewrite the identified part of the code to be smaller, faster, and cleaner, following clean code architecture principles.