Closures are related and often confused with lambda functions. The 2 concepts are wonderfully explained and distinguished in this StackOverflow answer : https://stackoverflow.com/a/36878651/13574304