Join Slack
Powered by
Hi again. What do you people use for "for loops" ...
# announcements
m
manuelp22
12/01/2016, 2:09 PM
Hi again. What do you people use for "for loops" In Java I use
Copy code
for (i=0; i<5; i++) { }
and in Kotlin I use
Copy code
var i = 0 while (i < 5) { i++ }
But now I had to make nested loops and thus declaring i, j, k, l, etc. Is there a better way to make such loops?
2
Views
Open in Slack
Previous
Next