Is it good practice to use comments like “#:::::::::::::” and “#………….” within python…
- User
Is it good practice to use comments like “#:::::::::::::” and “#………….” within python code / functions?
- Assistant
Using comments like "#:::::::::::::" and "###…………." in Python code is not a good practice. In fact, it's considered bad practice for a few reasons:
- PEP 8 Style Guide recommends using simple, clear and concise comments in Python code. Long or complex comments like these can make the code harder to read and understand.
- These types of comments can create a false sense of organization or hierarchy in the code, which can confuse other developers.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.