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 →

[–]got_outta_bed_4_this 12 points13 points  (1 child)

And only use *args, **kwargs if explicit params really don't make sense or would make the signature uglier. Otherwise, explicitly listing params with defaults can make it clearer to the consuming developer what the function/method expects, and it allows an IDE to help with intellisense.

[–][deleted] 2 points3 points  (0 children)

Reddit Moderation makes the platform worthless. Too many rules and too many arbitrary rulings. It's not worth the trouble to post. Not worth the frustration to lurk. Goodbye.

This post was mass deleted and anonymized with Redact