MashedTech@lemmy.world to Programmer Humor@programming.dev · vor 2 MonatenI redid the meme with what hurts melemmy.worldimagemessage-square52fedilinkarrow-up1466arrow-down113file-textcross-posted to: programmerhumor@lemmy.worldprogrammerhumor@lemmy.ml
arrow-up1453arrow-down1imageI redid the meme with what hurts melemmy.worldMashedTech@lemmy.world to Programmer Humor@programming.dev · vor 2 Monatenmessage-square52fedilinkfile-textcross-posted to: programmerhumor@lemmy.worldprogrammerhumor@lemmy.ml
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up2·edit-2vor 2 MonatenAnything 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.