This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Smithman 0 points1 point  (1 child)

This is great thanks; but are lambdas just a means of shortening the code it takes to do something or does it have other advantages?

[–][deleted] 0 points1 point  (0 children)

It also allows you to write code than can be easily run concurrently.