All pastes #487837 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-14 17:57 UTC
rendered paste body
FP without mutable state has two inherent advantages over imperative approaches. First, it can largely do away locks, since locks are generally only needed to protect mutable state. Second, functional programs are often amenable to more analysis than imperative programs, and consequently parallelization optimisations are more likely to be identified automatically.