(Jan-27-2017, 09:21 AM)buran Wrote: these are exactly block comments as described in PEP8
they didn't make it clear if that was their intent.
based on their definition, what does a non-block comment look like?
(Jan-27-2017, 09:36 AM)ichabod801 Wrote: ... I have always indented by comments to match the level of indentation of the code. I've been inconsistent with if/then statements, though. Sometimes the comment feels like it goes with the condition, sometimes it feels like it goes with the indented code.
mostly i have done that. there are some cases (in C coding i have done before) where the comments look better not indented at all, often by fitting across the whole line. these a sometime complex comments with tables ad graphs and such.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.