Deutsch   English   Français   Italiano  
<uuq0qr$1lcgf$3@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.linux.advocacy
Subject: Re: Why Python When There Is Perl?
Date: Fri, 5 Apr 2024 23:17:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <uuq0qr$1lcgf$3@dont-email.me>
References: <17be420c4f90bfc7$63225$1585792$802601b3@news.usenetexpress.com>
	<utd86u$1ipcj$1@solani.org> <utfo33$1o6mu$3@dont-email.me>
	<l61vaiFn16lU2@mid.individual.net> <utgikt$21nsq$1@dont-email.me>
	<l646ogF2m1hU4@mid.individual.net> <utjv9u$2u8be$1@dont-email.me>
	<utleqa$3993q$2@dont-email.me> <utmic2$3k6u5$10@dont-email.me>
	<utnmea$3tet3$4@dont-email.me> <utpaea$cntv$3@dont-email.me>
	<uuge9n$32hhs$16@dont-email.me> <uugv1d$36oe5$5@dont-email.me>
	<uuj1kh$3phh2$7@dont-email.me> <uuji0p$3ts8k$1@dont-email.me>
	<uunik2$vbtu$6@dont-email.me> <uuorfr$1cbiv$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 05 Apr 2024 23:17:47 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9c4b8ade0cfa29f0e8cec442ac1d5e3b";
	logging-data="1749519"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/8l931jp81NmXAaYNot2hM"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:EoIlI4t4Xh1xpEpxFwcYDW8s11E=
Bytes: 2318

On Fri, 5 Apr 2024 08:40:26 -0400, Chris Ahlstrom wrote:

> Lawrence D'Oliveiro wrote this copyrighted missive and expects
> royalties:
> 
>> 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.
> 
> Meh.

Along with C3 linearization?

Until C++ gets its own equivalent feature, then suddenly it’ll be not-meh.

You were a bit excited over metaclasses for a while back there, weren’t 
you? Until you realized it would never work, because classes are not 
objects in C++.