[Python] Secondo voi questo corso su Python è valido?

Marco Mariani birbag a gmail.com
Lun 14 Nov 2011 22:52:38 CET


2011/11/14 lordkrandel <lordkrandel a gmail.com>

>>
>> E funzioni polimorfiche, overload di operatori?
>
> Certo! Ma mica sapevo cos'erano!
> Ho provato a fare mele + pere e banane + pesche per vedere se esplodevano o se almeno crashava qualcosa... !

E il risultato e' sempre una cesta di frutta :-)

La notazione ungherese "malvagia" immagino sia una reazione a regole
barocche del C/C++ come:

 - No two different signed integer types have the same rank, even if
they have the same representation.
 - The rank of a signed integer type is greater than the rank of any
signed integer type with less precision.
 - The rank of long long int is greater than the rank of long int,
which is greater than the rank of int, which is greater than the rank
of short int, which is greater than the rank of signed char.
 - The rank of any unsigned integer type is equal to the rank of the
corresponding signed integer type, if any.
 - The rank of any standard integer type is greater than the rank of
any extended integer type with the same width.
 - The rank of char is equal to the rank of signed char and unsigned char.
 - The rank of any extended signed integer type relative to another
extended signed integer type with the same precision is implementation
defined but still subject to the other rules for determining the
integer conversion rank.
 - For all integer types T1, T2, and T3, if T1 has greater rank than
T2, and T2 has greater rank than T3, then T1 has greater rank than T3.

e questo solo per quanto riguarda gli interi, sticazzi


Maggiori informazioni sulla lista Python