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
6
u/blamedrop Feb 12 '20
My two cents as I got triggered with their incompetent and sloppy example of pattern matching in Scala xD
String color, lack of=incapacitydefinition, use of non-existent?:operator...returnkeyword.equalsonString"red"value right away etc.They seemed competent in the beginning, duh. With basic knowledge of current Scala one could came up with following snippet:
Cheers!