3 ms·
I want this to be true. And certainly there has been a lot of progress towards functional-ish code in the languages I'm about to reference. In my experience, l
by chitowneats 4y ago
I want this to be true. And certainly there has been a lot of progress towards functional-ish code in the languages I'm about to reference.
In my experience, languages like C, Go, Java, C# still dominate the backend. Replacing JavaScript is such a simple and well-defined task that I expect it will be completed much sooner. Maybe only a decade or two.
- eyelidlessness 4y agoWell I can’t speak to most of those, but I can definitely speak to JS: pretty much the only things holding back FP are people’s aversion to reduce and their aversion to grafting monads where they don’t fit. Otherwise it’s pretty much idiomatic to write functional-core code in JS basically everywhere. But again there be dragons at the edges.
- kaba0 4y agoJava and C# can absolutely be written in an FP style and it is definitely winning grounds.
- chitowneats 4y agoLike I said. Functional-ish. Still way too many ThingDoers and other associated boilerplate to be actually interesting. A nice option though if you're working in a legacy codebase or your employer requires it.