actions on mouseclick

Thanks for the fast answers.
Are there any major differences between these two approaches?
I read in this topic that lambda creates a unnamed and unowned function. Is this just something that is important on the hardware side or is there actually a difference in the program?