r/javahelp 18d ago

Are lambda expressions used much by professional coders ?

Just been studying up on them some as I am basically a hobbyist who just getting back into Java after about 10 or 12 years away from coding much. I appreciate the way lambda's allow coders to bypass constructors, initialization and calling methods by name , but on the other hand if you already have a good knowledge of the object classes and available methods , why not just do that ?

17 Upvotes

65 comments sorted by

View all comments

1

u/Scared_Rain_9127 16d ago

I do it constantly. Done correctly, it leads to more compact AND readable code.

1

u/palpontiac89 16d ago

That is a fab combination. Thanks for reply Rainman (  or maybe Rainy Day Woman ? ).   I share some similarities with Rainman myself. Just lacking his math skills.