Chapter

Side Effects

Abstract

Abstract Side effects occur when a computation performs some actions “behind the scene.” Such actions complicate programming activities and the process of maintaining and reasoning about program components. To address these complications, it is first beneficial to expose the side effects as explicit actions whose propagation then can be checked explicitly and enforced by programs and program analysis tools. Additionally, side effects could be confined to specialized sublanguages, which have been designed to deal generically, and in a modular way, with a heterogeneous collection of side effects. Such specialized languages simplify—but do not completely solve—the tricky problems that occur when different side effects interact.

Authors

Sabry A

Book title

Wiley Encyclopedia of Computer Science and Engineering

Pagination

pp. 2534-2543

Publisher

Wiley

Publication Date

March 16, 2009

DOI

10.1002/9780470050118.ecse370
View published work (Non-McMaster Users)

Contact the Experts team