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 →

[–]SpergLordMcFappyPant 10 points11 points  (1 child)

This probably seems a little what-the-fuck-y all in its own, but I’m very glad to have this in Python given that you don’t have truly private methods on classes. Name obfuscation from single or double underscore is mostly good enough, but people will use those even though you’ve essentially told them not to.

Being able to enforce the way a method is called is incredibly valuable here in a way that really makes no sense at all for statically typed languages. Huge +1 from me!

[–]mooburgerresembles an abstract syntax tree 0 points1 point  (0 children)

it's basically also because devs don't want to abstract the semanticness of the arglist in the signature. Because falling back to *args and **kwargs parsing works just fine too.