MashedTech@lemmy.world to Programmer Humor@programming.dev · 2 years agoI redid the meme with what hurts melemmy.worldimagemessage-square57fedilinkarrow-up1469arrow-down113file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1456arrow-down1imageI redid the meme with what hurts melemmy.worldMashedTech@lemmy.world to Programmer Humor@programming.dev · 2 years agomessage-square57fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up3·edit-22 years 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.