DEV Community

Discussion on: What is the simplest code to explain a loop?

 
slavius profile image
Slavius

Let's call it a syntactic sugar. It makes the code shorter, more visual while still keeping the same functionality; but may make someone puzzled about what it does on first sight as it's not common.