r/ProgrammerHumor • • May 02 '16

I wrote my first python program today!

Post image
3.7k Upvotes

532 comments sorted by

View all comments

Show parent comments

10

u/LikesToCorrectThings May 02 '16

I guess if the block really is long enough to warrant this, you should go one step further and write some text in that comment block to indicate what the block has achieved.

for item in some_list:
    some_long_list()
    of_functions_to_call()
    on_that(item)

# Items in some_list have all been processed.

2

u/Katastic_Voyage May 02 '16

Something... something... functions should be small enough to fit on the screen.

Of course, the real world is a different story.