V2EX  ›  英汉词典

Flow Control

释义 Definition

Flow control 指“流程控制/控制流”,是编程中用来决定代码执行顺序的机制与结构(例如条件判断、循环、分支、异常处理等)。在网络通信中也可指“流量控制”,用于防止发送方发送过快导致接收方来不及处理(此处以更常见的编程含义为主)。

发音 Pronunciation (IPA)

/floʊ kənˈtroʊl/

例句 Examples

Flow control helps a program decide what to do next.
流程控制帮助程序决定下一步做什么。

Good flow control, using loops and conditionals, can make complex logic easier to read and maintain.
良好的流程控制(使用循环和条件判断)能让复杂逻辑更易读、更易维护。

词源 Etymology

flow 意为“流动/流向”,control 意为“控制”。合在一起字面意思是“对流动进行控制”。在计算机领域,“flow”常引申为“执行流程/数据流”,因此 flow control 就指对程序执行顺序(或数据传输节奏)的控制。

相关词 Related Words

文学作品 Literary Works

  • The C Programming Language(Kernighan & Ritchie)——常讨论通过 if/elseswitchfor/while 等实现程序的控制流。
  • **Structure and Interpretation of Computer Programs (SICP)**(Abelson & Sussman)——以更抽象的方式讲解条件、递归等控制流思想。
  • Introduction to Algorithms(Cormen 等)——在算法描述与伪代码中大量使用控制流结构来表达步骤与分支。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   686 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 20:32 · PVG 04:32 · LAX 12:32 · JFK 15:32
♥ Do have faith in what you're doing.