Comment on The temptation is always there
HurgletOfficial@lemmy.basedcount.com 1 year agoI do this all the time in Python by creating a class like
class Core: foo = "bar"
Comment on The temptation is always there
HurgletOfficial@lemmy.basedcount.com 1 year agoI do this all the time in Python by creating a class like
class Core: foo = "bar"
ryannathans@aussie.zone 1 year ago
That’s not immutable nor a singleton
xmunk@sh.itjust.works 1 year ago
That makes it inherently multithread compatible!