3 ms·
No - a pure function is a function that has no side-effect (other than heat loss). You are talking about referential transparency. Even functions that are not
by lotsoflumens 10y ago
No - a pure function is a function that has no side-effect (other than heat loss).
You are talking about referential transparency. Even functions that are not pure can be referentially transparent.