perfectlyMakesSense

willis7747
33 Comments
Subscribe
Notify of
33 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

i
ii
iii
iiii
iiiii

The real limit of nested loops is when your IDE stops indenting

Just abstract them away into a function, and you have infinite possibilities

i0, i1, i2… *mad laughter*

Well if your code has that many nested loops, you’re basically summoning Cthulhu through your CPU 💀.

… and then Unicode support arrived, and we could nest millions of loops!

java champion

| || ||| |||| 卌 卌| 卌|| 卌||| 卌|||| 卌卌 卌卌| …

But `e` is a constant, you cannot use it as a variable!

Make sense that why my code always error while using loop >18 times

No, x,z,y and w are reserved for calculations involving multi-dimensional space.

Enjoy my Finnish alphabet, I still have 3 extra to spare: å, ä, ö

so its 21 in Danmark and Norway?

o(n^18)

More than 3 nested loop should be made illegal , even three is hard to accept

Its 9. i j k, x y z, a b c. You are not allowed anything else.

Dumb

I can go on and on,

ii, ij……

You can do infinite nesting, make it so hard and bad to compute.

Then solve the optimization issue for the rest of your time at company.

Create a fake problem and waste time solving it while getting money.

(Never tested this theory yet…seniors must have though)

*sighs*

The math checks out.

Laughs in french cpt

Bro thinks we use a single letter for each loop…

Wrong

The limit is given by the dragability of the horizontal scroll bar

Rookie statement

In college I had a professor who had a strictly enforced style guide that included a ban on the use of single letter variable names. Overall it was probably good to push us to come up with real, useful names, but he did not make an exception for for loops and that was really annoying

clearly he has not seen *real world legacy code*

Amateur, you should see how far I can go with nested loops, it’s like gazing into a tesseract of abyssess upon abyssess and the only way out would be to give birth to yourself.

I can’t imagine anyone going above 5 loops

actually ii ij ik il im in io ip…

Ask chatgpt to give you an example of 18 nested loops. I dare you.

Let me tell you a secret, you can name your iteration variable however you like, no one is checking that

If you go past 3 your code is shit

the OP willis7747 is a bot

Wait so you are telling me I can’t reuse i

33
0
Would love your thoughts, please comment.x
()
x