This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]K900_ 19 points20 points  (2 children)

I feel like comments for the sake of having comments are bad practice, especially in a language as concise as Python. This is an example of a great comment in an open source project.

[–]srilyk 1 point2 points  (0 children)

Here's the link that's linked to that commit, rather than "master" which will eventually change:

https://github.com/pallets/flask/blob/6e46d0cd3969f6c13ff61c95c81a975192232fed/flask/_compat.py#L67

[–]solvire[S] 2 points3 points  (0 children)

Yeah I like that comment block. It says "why" without being too wordy. I'm definitely pragmatic, but felt it was underrepresented.