Hi
On 12/05/2010 02:25 م, Dave Angel wrote:
M. Bashir Al-Noimi wrote:
<snip>
<snip>
humm, you confused me I'm still a newbie and I don't know anything
about differences between C++ & python even I couldn't understand
you. How C++ is a static language !??!!
In C++, every variable is declared, and the type of that variable is
static over its lifetime. The only flexibility there is that a
variable may also get a value of some derived type of its declared
type. In Python, variables have no fixed type at all, only the
objects (that they're bound to) have type. A variable can be an
integer one time, a string the next, and an arbitrary object after that.
nice that's truly easy i think this options are mix of java+VB (gc+no
need to decalre the variable) is it?
--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor