MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/gxm3af/its_the_law/ft3goqt/
r/ProgrammerHumor • u/siraajgudu • Jun 06 '20
1.1k comments sorted by
View all comments
Show parent comment
2
Yes and no. Of course you know that it is an iterator, but its probably even more convenient to see what is being iterated over.
0 u/[deleted] Jun 06 '20 [deleted] — view deleted comment 1 u/SpotifyPremium27 Jun 06 '20 Should have made that:const int pain; 1 u/Zhusters Jun 06 '20 i is rarely used in a situation where a different name would make it more clear what it isThat's how it should be. But what is the reality? :D 0 u/[deleted] Jun 06 '20 [deleted] — view deleted comment 2 u/[deleted] Jun 06 '20 And some teach it.
0
[deleted] — view deleted comment
1 u/SpotifyPremium27 Jun 06 '20 Should have made that:const int pain; 1 u/Zhusters Jun 06 '20 i is rarely used in a situation where a different name would make it more clear what it isThat's how it should be. But what is the reality? :D 0 u/[deleted] Jun 06 '20 [deleted] — view deleted comment 2 u/[deleted] Jun 06 '20 And some teach it.
1
Should have made that:
const int pain;
i is rarely used in a situation where a different name would make it more clear what it is
That's how it should be. But what is the reality? :D
0 u/[deleted] Jun 06 '20 [deleted] — view deleted comment 2 u/[deleted] Jun 06 '20 And some teach it.
2 u/[deleted] Jun 06 '20 And some teach it.
And some teach it.
View all comments
Show parent comment
2
u/Zhusters Jun 06 '20
Yes and no. Of course you know that it is an iterator, but its probably even more convenient to see what is being iterated over.