Sometimes it would be quite comfortable (from a programmer’s perspective) to use nested inner functions. But they are a potential source for nasty problems. Let’s take the following simple scenario: (more…)