why brackets & commas in func calls can't be ommited? (maybe it could be PEP?)

Bart Ogryczak B.Ogryczak at gmail.com
Wed Mar 21 12:17:36 EDT 2007


On Mar 21, 3:38 pm, "dmitrey" <open... at ukr.net> wrote:
> Hi all,
> I looked to the PEPs & didn't find a proposition to remove brackets &
> commas for to make Python func call syntax caml- or tcl- like: instead
> of
> result = myfun(param1, myfun2(param5, param8), param3)
> just make possible using
> result =  myfun param1 (myfun2 param5 param8) param3

How would you write "a = b(c())"?

In my opinion it'll make code extremely obfuscaded. The great thing
about Python, when comparing with eg. Perl or C, is that code is
readable, even if written by experienced hacker.





More information about the Python-list mailing list