Most languages have introduced "iterator" syntax, ...
# suitescript
s
Most languages have introduced "iterator" syntax, designed to replace while, do-while, and for loops, when you have an iterable data object. They generally work to decrease bugs and improve readability and maintainability. For and While loops still have their uses, but I find very few cases where I need them