Hacker News new | ask | show | jobs
by erikpukinskis 3747 days ago
That's true, and I use closures sometimes. But they are a performance and readability anti-pattern, and it's often better to either pass in or bind the data you actually need.

In some sense closures are globals and globals are bad.