Tom Ritchford
Apr 12, 2023

--

Hello again, Emma! As someone else wrote, Python's `dataclasses` would be the way to go for these classes, and would make them look much like Julia's.

The combination of dataclasses and functools.cached_property have become a golden hammer for me in Python and I use them for almost everything.

--

--

No responses yet