MashedTech@lemmy.world to Programmer Humor@programming.dev · 3 days agoI redid the meme with what hurts melemmy.worldimagemessage-square38fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageI redid the meme with what hurts melemmy.worldMashedTech@lemmy.world to Programmer Humor@programming.dev · 3 days agomessage-square38fedilinkfile-text
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up0·edit-22 days agoAnything that’s not an integer or a range doesn’t belong inside []. Much more readable to use zip, map, filter, etc. And more powerful. EDIT: that was meant for indexing lists. Strings inside [] for indexing ducts are fine.
Anything that’s not an integer or a range doesn’t belong inside
[]
. Much more readable to use zip, map, filter, etc. And more powerful.EDIT: that was meant for indexing lists. Strings inside
[]
for indexing ducts are fine.