Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@electrineer
for (auto item : iterator)
is better than
for (vector<type>::iterator ptr = vec.begin(); I < vec.end(); ptr++) -
@electrineer It's mostly a reflection on how much I now using LINQ, functional array methods, etc.
Hacking thing was just there for entertainment value. -
chovy1205yI had to ask an interviewer if you can break out of a for loop. I do t think I’ve written one in five years.
Related Rants
-
wrkuijpers82Me: *Watching a movie* Main Character: "Oh no, we have to hack the CIA to figure out how this machine works! ...
-
CodesNotHot9Listening to two girls argue about how thin their eyebrows are is what you deserve for forgetting your headpho...
-
molynerd12Writing some code on a flight "ARE YOU HACKING?!?!" "Ugh... Well yeah but not in the way you're thinking" "Om...
Just had to write an old-skool for loop. Index...termination condition...whole works. I feel dirty.
Bit embarrassing as someone saw me writing it, thought I was a hacker and informed the authorities. Spent the last hour being waterboarded.
We had a big laugh about it when they realized I was just fixing bugs in a legacy app.
National Security. Hilarious.
random
extraordinary rendition
torture
hacking
for-loop in 2019