Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Side effect » ?

Definition 1.14 High School Computer Science · Chapitre 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.

Lire dans le chapitre →