27 Jun
2013
27 Jun
'13
3:01 a.m.
On 06/26/2013 08:16 PM, Ethan Furman wrote:
I don't know about you, but the first time I saw * and ** I had no idea what they did and had to learn it.
One of my fist thoughts when I first learned Python was that it would have made things clearer if they used two different symbols for pack and unpack. def foo(*args, **kwds): return bar(^args, ^^kwds) There isn't any issue for the computer having those the same, but as a human, the visual difference would have helped make it easier to learn. But it's very hard to change something like this. And even harder to change how people think once they are used to something. Cheers, Ron