全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 Mutable, immutable?

又称: mutable · immutable

Definition 2.3 High School Computer Science · 第 2 章 — Tuples, Sets and Comprehensions

A value is mutable when it can be changed after it is built, and immutable when it cannot. Lists, dictionaries and sets are mutable. Numbers, strings and tuples are immutable: an operation on them builds a new value.

在原文中阅读 →