3 ms·
> isn't the whole point that you write code completely differently in functional languages? That's certainly the conventional wisdom, but I think it's becoming
by tome 9y ago
> isn't the whole point that you write code completely differently in functional languages?
That's certainly the conventional wisdom, but I think it's becoming less and less the case and we discover what are good styles to program in and imperative and functional styles are ending up converging somewhat.
- beaconstudios 9y agoI think it's more that people are realising the an imperative syntax on a functional language is both accessible and benefits from functional design. See elm, the functional aspects of modern JS, and probably some other examples that don't come to mind right now.
- tome 9y agoAnd functional constructs are appearing in imperative languages, lambdas, iterators, etc. etc..
- beaconstudios 9y agoiterators have been around for a long time and certainly aren't a functional construct. Lambdas are just syntactic sugar for functions in most cases.