Good: Here is a sample of a well-commented code. There is no need to comment every line of code, but comments should help the reader understand the purpose of code blocks and clarify non-obvious parts.

Good: Here is a sample of a well-commented code. There is no need to comment every line of code, but comments should help the reader understand the purpose of code blocks and clarify non-obvious parts.
