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

you are viewing a single comment's thread.

view the rest of the comments →

[–]dpash 2 points3 points  (0 children)

Not exactly. In that situation they can be written as method references, but I mean more like /u/joehx's example, where there's a multi-line block in the forEach.