Sgt_choke_n_stroke@lemmy.world to Programmer Humor@programming.dev · 1 year agoThe temptation is always therelemmy.worldimagemessage-square90fedilinkarrow-up11.03K
arrow-up1994imageThe temptation is always therelemmy.worldSgt_choke_n_stroke@lemmy.world to Programmer Humor@programming.dev · 1 year agomessage-square90fedilink
minus-squareHurglet@lemmy.basedcount.comlinkfedilinkarrow-up1·1 year agoI do this all the time in Python by creating a class like class Core: foo = "bar"
minus-squareryannathans@aussie.zonelinkfedilinkarrow-up3·1 year agoThat’s not immutable nor a singleton
I do this all the time in Python by creating a class like
class Core: foo = "bar"
That’s not immutable nor a singleton