книги Наука, техника, медицина Гуманитарные науки Филология Русский язык Словари, справочники

Foreach loop

Код 3399546

  • ISBN: 978-5-5086-2643-3

Нет в продаже

Аннотация к книге "Foreach loop"

High Quality Content by WIKIPEDIA articles! For each (or foreach) is a computer language idiom for traversing items in a collection. Foreach is usually used in place of a standard for statement. Unlike other for loop constructs, however, foreach loops usually maintain no explicit counter: they essentially say "do this to everything in this set", rather than "do this x times". This avoids potential off-by-one errors and makes code simpler to read. In object-oriented languages an iterator, even if implicit, is often used as the means of traversal.

Оставить комментарий

Оцените книгу:

ISBN: 978-5-5086-2643-3

Книга находится в категориях

Языкознание Машиностроение Отраслевая экономика

Вместе с этой книгой покупают