|
|
|
|
|
by joejev
3216 days ago
|
|
Why is (x=1, y=2) more practical than nt(x=1, y=2)? Also, we have a very efficient implementation for tuples. collections.namedtuple is quite fast and the article shows cnamedtuple (which I am the author of) which is a C implementation that is even faster. None of this needs a change to the language itself. |
|
It was outlined in the linked article. Order of named arguments should not matter so new syntax would be better.