When NOT to use comments
Don’t comment what’s obvious
n = n+1 # increment n
Don’t put a comment on every line
Don’t draw boxes, lines, etc.
#------------------------
def remove_bias(self):
#------------------------
self.bias = 0
Previous slide
Next slide
Back to first slide
View graphic version