程式迴圈
Sign in to saveAlso known as loop routine, software loop, loop control structure, loop construct, loop, programming loop
repeating section of a computer program
Wikidata facts
- Subclass of
- control flow
- Part of
- computer program
Show 6 more facts
- Stack Exchange tag
- tex.stackexchange.com/tags/loops
- manifestation of
- iteration
- different from
- event loop
- studied by
- computer science
- on focus list of Wikimedia project
- WikiProject Computer Science
- Commons category
- Programming loops
Sources (1)
via Wikidata · CC0
Article · 中文
迴圈是计算机科学運算領域的用語,也是一種常見的控制流程。迴圈是一段在程式中只出現一次,但可能會連續執行多次的程式碼。迴圈中的程式碼會執行特定的次數,或者是執行到特定條件成立時結束迴圈,或者是針對某一集合中的所有項目都執行一次。 在一些函數程式語言(例如Haskell和Scheme)中會使用递归或不动点组合子來達到迴圈的效果,其中尾部递归是一種特別的递归,很容易轉換為迭代。
Abstract from DBpedia / Wikipedia · CC BY-SA