Zum Inhalt der Seite gehen


My first #blog post is live!

About a small decorator I wrote in #Python that makes the inner classes of the decorated class, also subclasses of it.

I use that for namespaced sum types with data, such as the type Decision with a constructor Decision.Flag("created")

https://midgard.user.zeus.gent/blog/2025-02-07-inner-classes-are-subclasses
Dieser Beitrag wurde bearbeitet. (2 Wochen her)