I can't remember the last time that I wanted to find a function that took two ints and returned a function.
I can remember the last time I wanted a function that did a particular operation.
I can't remember the last time that I wanted to find a function that took two ints and returned a function.
I can remember the last time I wanted a function that did a particular operation.
Python documentation, in contrast, seems to downplay (read: hide) the return type! It's not helpful to me (maybe I'm doing it wrong, or just not used to it). For example: http://docs.python.org/library/httplib.html#httplib.HTTPConn...
Please stop willfuly misusing nomenclature. Please.
For example, xmlrpclib.ServerProxy takes an URI - is that a string or a special URI object? I guess it's most convenient if it's just a string, but if you had just constructed the URI by concatenating the separate parts, it's inefficient to immediately parse them apart - and so Java has URI objects. Maybe it's just that Python admits it's a scripting language, and uses machine cycles to serve you - instead of the other way round. That's a nice idea.