r/functionalprogramming • u/mto96 • Feb 11 '20
Java What Java has learned from functional languages
https://youtu.be/e6n-Ci8V2CM?list=PLEx5khR4g7PLHBVGOjNbevChU9DOL3Axj
22
Upvotes
r/functionalprogramming • u/mto96 • Feb 11 '20
View all comments
Show parent comment
1
u/procsyma Feb 12 '20
In the next slide they show Java switch expressions which actually looks like the pattern matching example you came up with. Which is confusing me even more how could they end up with such a garbage snippet.