全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Side effect?

Definition 1.14 High School Computer Science · 第 1 章 — Specifications, Assertions and Tests

A side effect of a function is any change it makes that outlives the call, apart from the value it returns: a change to a list it received as an argument, to a variable outside the function, to a file, or text printed on the screen.

在原文中阅读 →