Liste des Groupes | Revenir à co vms |
On 8/27/2024 5:47 PM, Lawrence D'Oliveiro wrote:>
On Tue, 27 Aug 2024 13:40 +0100 (BST), John Dallman wrote:>
In article <vadndu$1igfq$1@dont-email.me>, ldo@nz.invalid (Lawrence
D'Oliveiro) wrote:
You never had functions and classes as first-class objects in BASIC or
COBOL; you do in Python. You never had metaclasses in those languages;
you do in Python. You never had custom operator overloads in those
languages; you do in Python.
I suspect that he was more thinking philosophy than specific syntax and
functionality.
Also note that those languages has also evolved.
VB.NET has classes, lambdas and operator overload. Python metaclass does
not have a direct equivalent in VB.NET but AppDomain, compiler services
and extension methods should together provide similar functionality.
Les messages affichés proviennent d'usenet.