The real limit of nested loops is when your IDE stops indenting
Karol-A
2 months ago
Just abstract them away into a function, and you have infinite possibilities
polyglot-humanbot
2 months ago
i0, i1, i2… *mad laughter*
GracefulGleam3
2 months ago
Well if your code has that many nested loops, you’re basically summoning Cthulhu through your CPU 💀.
FelisCantabrigiensis
2 months ago
… and then Unicode support arrived, and we could nest millions of loops!
narekk1202
2 months ago
java champion
FeIjx
2 months ago
| || ||| |||| 卌 卌| 卌|| 卌||| 卌|||| 卌卌 卌卌| …
supersteadious
2 months ago
But `e` is a constant, you cannot use it as a variable!
Sad_Plantain8757
2 months ago
Make sense that why my code always error while using loop >18 times
alexanderpas
2 months ago
No, x,z,y and w are reserved for calculations involving multi-dimensional space.
ABK-Baconator
2 months ago
Enjoy my Finnish alphabet, I still have 3 extra to spare: å, ä, ö
CirnoIzumi
2 months ago
so its 21 in Danmark and Norway?
Ok-Jackfruit-8389
2 months ago
o(n^18)
jump1945
2 months ago
More than 3 nested loop should be made illegal , even three is hard to accept
NeedleShredder
2 months ago
Its 9. i j k, x y z, a b c. You are not allowed anything else.
jkp2072
2 months ago
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)
truNinjaChop
2 months ago
*sighs*
europorn
2 months ago
The math checks out.
TheFrenchSavage
2 months ago
Laughs in french cpt
-hunter_117
2 months ago
Bro thinks we use a single letter for each loop…
UselessAutomation
2 months ago
Wrong
The limit is given by the dragability of the horizontal scroll bar
Phamora
2 months ago
Rookie statement
astroK120
2 months ago
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
quetzalcoatl-pl
2 months ago
clearly he has not seen *real world legacy code*
ButWhatIfPotato
2 months ago
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.
HandymanJackofTrades
2 months ago
I can’t imagine anyone going above 5 loops
IamHereForThaiThai
2 months ago
actually ii ij ik il im in io ip…
senseven
2 months ago
Ask chatgpt to give you an example of 18 nested loops. I dare you.
EaterOfCrab
2 months ago
Let me tell you a secret, you can name your iteration variable however you like, no one is checking that
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