MashedTech@lemmy.world to Programmer Humor@programming.dev · 3 days agoI redid the meme with what hurts melemmy.worldimagemessage-square27fedilinkarrow-up1229arrow-down17file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1222arrow-down1imageI redid the meme with what hurts melemmy.worldMashedTech@lemmy.world to Programmer Humor@programming.dev · 3 days agomessage-square27fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareJATth@lemmy.worldlinkfedilinkarrow-up6·edit-22 days agoPython is just a pile of dicts/hashtables under the hood. Even the basic int type is actually a dict of method names: x = 1; print(dir(x)) ['__abs__', '__add__', '__and__', '__bool__', '__ceil__', '__class__', '__delattr__', '__dir__', ... ]
Python is just a pile of dicts/hashtables under the hood. Even the basic
int
type is actually a dict of method names:x = 1; print(dir(x)) ['__abs__', '__add__', '__and__', '__bool__', '__ceil__', '__class__', '__delattr__', '__dir__', ... ]