[Tutor] First steps for C++/Qt developers

M. Bashir Al-Noimi mbnoimi at gmx.com
Wed May 12 16:12:02 CEST 2010


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100512/e89086c8/attachment.html>


More information about the Tutor mailing list