About programing, a general question

Parshwa Murdia b330bkn at gmail.com
Wed Dec 22 18:18:05 UTC 2010


On Wed, Dec 22, 2010 at 10:32 PM, Michael Hennebry <
hennebry at web.cs.ndsu.nodak.edu> wrote:

The *default* should be python even for object-oriented stuff.
> Python allows polymorphism and operator overloading.
> There are important differences:
> In python, one cannot declare the type of a variable or member:
> Type is acquired by assignment.
> def and class statements assign functions and classes to variables.
> They do not preclude reassignment.
> This could prevent an error message when
> one would prefer that to the result.
>
> Flexibility can be slow.
> C++ and java with their fixed types will usually be faster.
>
> The availablilty of useful additives is another
> reason for not necessarily using the default.
>
> --
> Michael
>


You can say this because you might be knowing both the languages.


-- 

Regards,
Parshwa Murdia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20101222/fcd42567/attachment.html 


More information about the users mailing list