Is functional programming the hipster programming paradigm? (Ep. 418)
Cassidy, Ceora, and Matt discuss functional programming and where it got its reputation as “the mustachioed hipster of programming paradigms.” Cassidy used to run a workshop teaching functional programming with JavaScript and currently works with Elixir, “a fully functional programming backend.”
Cassidy, Ceora, and Matt discuss functional programming and where it got its reputation as “the mustachioed hipster of programming paradigms.” Cassidy used to run a workshop teaching functional programming with JavaScript and currently works with Elixir, “a fully functional programming backend.”
Episode notes:
Here’s a useful primer on functional programming with JavaScript.
This tutorial will guide you in exploring the fundamentals of functional programming with React.
If you’re looking for more info on functional programming in React, we’d like to tell you why hooks are the best thing to happen to React.
Learn why object-oriented programming (OOP) has become such a dominant paradigm.
Tags: the stack overflow podcast
1 Comment
Two things: Object Oriented is not necessarily about inheritance. It’s even not necessarily about classes.
On the other hand, I wonder how you feel about data-oriented programming and Entity Component Systems. It is still imperative, you have a state and much more control what happens when (when compared to functional programming). But it is very not-OOP. And I find it quite composable, even if it does not reach the level of abstraction available in functional languages.
I agree FP is clean, but as the data gets big and complex, the compiler may fail to find an optimal way of executing and storing stuff. At that point you do want to be able to take the wheel and explicitly state, in an imperative way, what should be done when.