Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Alias » ?

Definition 2.4 High School Computer Science · Chapitre 2 — Tuples, Sets and Comprehensions

Two names are aliases when they refer to the same value in memory. The test a is b is true exactly when a and b are aliases; the test a == b compares the contents of two values, which may be distinct.

Names refer to values. a and b are aliases of one list; c refers to a copy, which changes on its own.
Names refer to values. a and b are aliases of one list; c refers to a copy, which changes on its own.
Lire dans le chapitre →