May-03-2017, 04:51 AM
RE: Java / Scala / FP - I feel embarrassed to say this but Java's lambdas put Python's to shame, and Scala wins FP hands-down. I had to write something where I applied a map, filter, map, filter and nested comprehensions are gnarly. Python's FP support is alright unless you want to really embrace FP.
I think FP and procedural have their places. But Scala has better multi-paradigm support, at least in the FP realm. Python is still my go-to language and I didn't know what I was missing FP-wise until the last year or so, but Python could stand to learn a thing or two (maybe pattern matching? definitely better lambdas).
I think FP and procedural have their places. But Scala has better multi-paradigm support, at least in the FP realm. Python is still my go-to language and I didn't know what I was missing FP-wise until the last year or so, but Python could stand to learn a thing or two (maybe pattern matching? definitely better lambdas).