A Little History (70s)
Side effects were long ago recognised to be harmful:
x := f(y,z);
A common source of bugs, makes testing difficult.
So restrict use of side-effects.
Can we do without them altogether?
Computes a result, but
also changes some variables...
Functional
programming
was born!
Föregående bild
Nästa bild
Tillbaka till första bilden
Visa grafisk version