It would probably be acceptable to use loops ( for , while , ...), but you will need to check with the project author. I tend to relate to loops and conditional statements separately, since they usually have different goals ...
- Conditional operators like
if and switch will make a choice from a list of options. They run only once. - Loops, such as
for and while , are usually designed to run a piece of code several times.
Of course, this is just a generalization, and everyone probably has a different opinion, but of course I treat them differently, because they have different primary goals.
For an extra loan, Wikipedia seems to agree. If Statement is a conditional statement, and For Loop is an iterative expression.
source share