2 ms·
State changes that are internal to a function and not visible are sometimes called "benign effects" in functional programming. A function can be considered "pur
by senkora 2y ago
State changes that are internal to a function and not visible are sometimes called "benign effects" in functional programming. A function can be considered "pure" if it has only benign effects, which is a relaxation on the stricter requirement that a pure function have no (side) effects at all.