The temptation is always thereSgt_choke_n_stroke@lemmy.world to Programmer Humor@programming.dev – 1059 points – 9 months ago101Post a CommentPreviewYou are viewing a single commentView all commentsShow the parent commentI do this all the time in Python by creating a class like class Core: foo = "bar" That's not immutable nor a singletonThat makes it inherently multithread compatible!
I do this all the time in Python by creating a class like class Core: foo = "bar" That's not immutable nor a singletonThat makes it inherently multithread compatible!
I do this all the time in Python by creating a class like
That's not immutable nor a singleton
That makes it inherently multithread compatible!