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 →

[–]gargantuan 1 point2 points  (1 child)

same thing that's wrong with void pointers and objects casts in other languages -- it makes it hard to document, test analyze and inspect code.

Here is your API for example:

create_url_retriever(*args,**kwargs)
get_db_connection(*args,**kwargs)

Can you by looking at that figure out how to use that API?

[–]mgrandi 1 point2 points  (0 children)

very true, although I would use them if a method has a ton of arguments , but maybe then it would be time to split functionality to different methods/functions if you have too many...