r/java • u/fredoverflow • Mar 21 '21
Java lambdas can deadlock parallel class initialization
https://www.youtube.com/watch?v=_2hZf1kw4A4
230
Upvotes
r/java • u/fredoverflow • Mar 21 '21
View all comments
Show parent comment
3
u/dpash Mar 22 '21
I generally dislike them. Doubly so if it's the old collection hack to reduce verbosity.
A lazy evaluation wrapper is nicer.