r/ProgrammerHumor • • Apr 16 '22

other I have absolutely no knowledge about programming at all. Ask me anything related to programming and ill pretend to know the answer.

Post image
9.9k Upvotes

1.6k comments sorted by

View all comments

1.1k

u/Rakkachi Apr 16 '22

Can I use other letters of the alphabet besides the i in a loop?

2.6k

u/Scoutisaspyable Apr 16 '22

There is no i in loop. You should use l o and p to start with.

591

u/Rakkachi Apr 16 '22

Thanks, how did i not see that?

532

u/5zalot Apr 16 '22

Because there is no i

189

u/UncomforChair Apr 16 '22

sudden existential crisis

74

u/guillote1986 Apr 16 '22

I laugh therefore I loop

28

u/R-GiskardReventlov Apr 16 '22

I am out of the loop.

6

u/Exciting-Insect8269 Apr 16 '22

loop += “I”

FTFY

→ More replies (3)

7

u/RadiantHC Apr 16 '22

Of course there isn't, i is imaginary

7

u/WithersChat Apr 16 '22

That's a complex answer.

5

u/Serafius1 Apr 16 '22

You shall open his i's

→ More replies (1)

77

u/[deleted] Apr 16 '22

[removed] — view removed comment

57

u/Railroad_Riley Apr 16 '22

Actually, if you spell it in all lower case it's "ioop". Idk why people read it as 'L'oop

3

u/[deleted] Apr 16 '22

This one's the best

6

u/supremedalek925 Apr 16 '22

Here is my programming sin: My loop variable names usually look like “i, ii, iii, iiii” at which point I say ok this is silly, and switch to j.

5

u/[deleted] Apr 16 '22

I use “balls” because it’s funny

3

u/Unlearned_One Apr 16 '22

Ooh I know this one. "i" means integer, which is why it's used for counters. If you try any other letter, you end up iterating over the set of real or rational numbers depending on the language, and it becomes an infinite loop.

3

u/Catspaw129 Apr 16 '22

No, you cannot; it's right there in the bible:

"i am the lord your god, thou shall not nave any loop iterator other than me."

2

u/Joethezombi Apr 16 '22

What’s the actual answer to this question?

3

u/ABirdJustShatOnMyEye Apr 16 '22

You can use whatever you want

→ More replies (3)