On Tue, Dec 2, 2008 at 7:08 PM, llarsen <[EMAIL PROTECTED]> wrote:
>
> I am in favor of the syntax:
>
> f({x:2,y:3}) and f(dict(x=2,y=2))
>
> as opposed to
>
> f(x=2,y=3)
>
> I like the fact that it is simple and clean to implement, doesn't
> require any magick, avoids the confusion of the f(x=2,y=3) syntax, and
> still feels like a relatively natural syntax (to me). It doesn't quite
> match the natural mathematical syntax, but I think it is close enough
> to be readable by people who are new to sympy.
I also prefer the syntax:
f({x:2,y:3}) or the implied syntax f(dict(x=2,y=2))
as opposed to
f(x=2,y=3)
for exactly the reasons all of you stated above. Brian has expressed
his opinion here:
http://groups.google.com/group/sympy-patches/msg/fcedf3feed505e54
http://groups.google.com/group/sympy-patches/msg/6e23272b38c6249b
So let's implement it. I am sorry Lance it has taken so long to
discuss this, I think noone has realized all the possible problems
that arised.
Thanks,
Ondrej
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---