Skip to main content

For questions about the design or implementation of loops (e.g., for, while, do/while) in a programming language, including syntax and functionality.

Loops are an essential part of languages, as they permit the repetitive execution of code without repeating the actual code. There are several different types, the most common of which are for while do/while and foreach.

Related tags: