r/ProgrammerHumor • • Oct 10 '26

Meme weAreWizards

Post image
7.8k Upvotes

203 comments sorted by

View all comments

Show parent comment

1

u/Bright-Historian-216 Oct 14 '26

i don't actually see them as anything difficult. arguments go in, outputs come out. there is a bit of sorcery if you mean C++ lambdas (does C have lambdas?) with closures and stuff, but it's not difficult to get a grasp of the general idea.

1

u/das_menschy Oct 14 '26

I still think it's a bit of magic, because anonymous functions don't have a name. That's like talking to someone without knowing his name, while being in a crowd or far away from each other. 

1

u/Bright-Historian-216 Oct 14 '26

i think of it more like phone numbers. you don't have to know the name of the person you're calling, you only need a way to communicate with them. if you have an array of lambdas, for example, the index is the phone number.