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
-
Probably because you learn an if before the while (Which, I assume, is the loop they are referring to, being the conditional loop) and terminology can be difficult sometimes I guess. Never heard it before though.
-
Lel005548yNever heard of an "if loop" - just an "if block".
But
while { if(true) { } }
works (excuse the quick formatting) -
Probably because in Java, what most beginners use, if blocks visually look the same as while/do loops. so if they don't know any better, it might be natural to say "if loops". I don't know for sure but that might be why.
-
johnDoe32338yIf loop.... A single if statement in a method with recursive calls? An if statement in a while loop....
How do u loop and if exactly...
Why do I always here beginners say "If loop"??? Where does this come from?
undefined