Most gratuitous comments

sohcahtoa82 at gmail.com sohcahtoa82 at gmail.com
Thu Nov 20 19:52:33 CET 2014


On Wednesday, November 19, 2014 8:59:01 PM UTC-8, Steven D'Aprano wrote:
> And the award for the most gratuitous comments before an import goes to 
> one of my (former) workmates, who wrote this piece of code:
> 
> # Used for base64-decoding.
> import base64
> # Used for ungzipping.
> import gzip
> 
> 
> 
> -- 
> Steven

I blame CS professors that demand that every line of code be commented.

# increment x
x += 1



More information about the Python-list mailing list