Map
Index
Random
Help
Topics
th

Topic: functional side effects

topics > computer science > programming > Group: function



Group:
expression evaluation

Topic:
failure returning functions and expressions
Topic:
function vs. procedure
Topic:
functional programming
Topic:
interface between program modules

Summary

Reversible functions produce no side effects, but some functions must have side effect (e.g., changing the current position during sequential access).

Procedures typically have side effects, like an assignment.

Subtopic: side effects up

Quote: side effects result from hidden access to a variable; e.g., declaring a block within a block [»maclBJ_1987]
Quote: a data flow language does not have side effects [»ackeWB_1979]
Quote: programming traditionally uses two kinds of data flow -- expression nesting and variable assignment and reference; leads to side-effects and multi-value wrappers [»edwaJ10_2005]

Subtopic: no side effects up

Quote: no side effects to spreadsheet formulas. In general, want to minimize side effects, provide clear cause-and-effect relations, and trace/debug the results [»myerBA_1992]
Quote: the interface between the parts of X+Y is a single number

Subtopic: reversible operations up

QuoteRef: smitDC6_1975 ;;82 most operations are reversible

Subtopic: prevent side effects up

Quote: probe..endprobe to evaluate an expression without side effects [»heerJ4_1985]

Subtopic: security issues up

Quote: languages in which erroneous programs have arbitrary side-effects are non-secure because every module must be proven error free before any can be [»stroRE5_1985]

Subtopic: separating functions by their side effects up

Quote: an Aleph predicate or action may have side-effects; a question or function may not [»boscR9_1973, OK]
Quote: with Pancode, conditional evaluation of predicates can be done without side-effects or sentinels [»jonsD8_1987]

Subtopic: side effects needed up

Quote: 35% of embedded functions are void f(void); i.e., for side effects

Related Topics up

Group: expression evaluation   (5 topics, 97 quotes)

Topic: failure returning functions and expressions (24 items)
Topic: function vs. procedure (9 items)
Topic: functional programming (45 items)
Topic: interface between program modules
(55 items)


Updated barberCB 6/04
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.