cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoLow effort memelemmy.worldimagemessage-square17fedilinkarrow-up1106arrow-down112
arrow-up194arrow-down1imageLow effort memelemmy.worldcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square17fedilink
minus-squaretyo_ukko@sopuli.xyzlinkfedilinkarrow-up1·edit-21 month agoI much prefer for (auto map : hashMaps) ... over for(unordered_map<string, unordered_set<string>> map : hashMaps) though. Shame they didn’t name it “var” like in many other languages, auto just reminds me of cars.
I much prefer
for (auto map : hashMaps) ...overfor(unordered_map<string, unordered_set<string>> map : hashMaps)though. Shame they didn’t name it “var” like in many other languages, auto just reminds me of cars.