4 ms·
Isn't it ironic that one of the most readable procedural languages today has almost unreadable OOP syntax? People unironically created interfaces and various o
by wheelerof4te 5y ago
Isn't it ironic that one of the most readable procedural languages today has almost unreadable OOP syntax?
People unironically created interfaces and various overloaded operations using dunder methods. Not only do you need to keep a list of them under your pillow, but you must also keep notes on how to construct the interface for each one.
And they look ugly as hell. In a language that prides itself on readability and user friendlines.
My suggestion is to ditch the OOP syntax completely and make a built-in analogue to a C struct. Take inspiration from dataclasses syntax. OOP in a dynamic glue language is a silly idea anyway. Of course, you would have to bump the version to 4.0.