Great to hear!
My usual use case does NOT have any inheritance (inheritance is
overrated). Classes are just used as containers to maintain state (data).
This matches a paradigm where a system is composed of objects that have
some internal state (e.g., parameter settings).
On Tue, Nov 27, 2018 at 8:28 AM serge guelton <
On Tue, Nov 27, 2018 at 07:52:34AM -0500, Neal Becker wrote:
Dare I ask, is there a plan to support classes in the future?
Not in the very near future, but it's a mid-term goal to support, say,
data classes or « class without inheritance », or some simplified version
of a class. The typing system used by Pythran needs to be enhanced, and
when that task pops up, making the system extendable would pave the way for
basic class support. Until then, collecting use cases would be a great
idea: can you open an Issue where you, and eventually other pople, would
provide examples of minimal class support requirements?