Juan R. wrote:

> I see no dinamism on your example, just static overloading.

There's nothing static about it:

   q = raw_input()
   if q == "A":
     a = 1
     b = 2
   else:
     a = "x"
     b = "y"
   c = a + b

There is no way that the compiler can statically
determine what the + operator needs to do here.

--
Greg
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to