Re: Why Python When There Is Perl?

Liste des GroupesRevenir à ol advocacy 
Sujet : Re: Why Python When There Is Perl?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacy
Date : 05. Apr 2024, 03:02:58
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uunik2$vbtu$6@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Wed, 3 Apr 2024 08:28:07 -0400, Chris Ahlstrom wrote:

The C++ enum-class is scoped and strongly typed, thus a bit restrictive.
Implicit conversion (e.g. to int or char) is not supported.

Since Python supports multiple inheritance, you can define a subclass
which inherits from both enum and, say, int. Or enum and str.

Date Sujet#  Auteur
2 Oct 24 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal