Python dot-equals (syntax proposal)
__peter__ at web.de
Fri Apr 30 12:36:40 EDT 2010
> At least a few times a day I wish python had the following shortcut
> this would be equivalent to
> vbl = vbl.func(args)
> foo = "Hello world"
> foo.=split(" ")
> print foo
> # ['Hello', 'world']
Extending a language comes at a cost, too. A language with 1000 superb
features will be much harder to use than one with 10 or 20.
In that spirit I suggest a thought experiment: which two features would you
kick out of Python to get your new one in?
More information about the Python-list