The most common pitfall with scope arises in parallelization. All variables and functions must be passed into a new environment that is run on each thread.