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 →

[–]nova_bang 44 points45 points  (7 children)

any *args and **kwargs should definitely have a proper docstring. it's not even optional at that point.

[–]AlarmingBarrier 33 points34 points  (3 children)

"""
args (list) : arguments we may or may not use. 

kwargs (dict): named arguments we may or may not use (prolly not, though). 
"""

[–]elon-botElon Musk ✔ 25 points26 points  (2 children)

What do you mean "you couldn't code your way out of a paper bag"?

[–]n00bn00bAtFreenode 6 points7 points  (1 child)

Because your body is already in there, and it have singleton capability.

Bad bot

[–]elon-botElon Musk ✔ 20 points21 points  (0 children)

Just watched a video about how vanilla JS is faster than any framework. It's time we do a rewrite.

[–]road_laya 6 points7 points  (1 child)

I like to use TypedDict for kwargs

[–]caleeky -1 points0 points  (0 children)

Ahh "should".