For loops in Soul
for
loop is a control flow statement that allows code to be executed repeatedly based on a condition. Soul supports the classic C-style for loop with initialization, condition, and increment components.
index
instead of i
when clarity is importantfor
loop is essential for controlled iteration and is particularly useful when you need access to the current index or want precise control over the iteration process.