Functional programming in JavaScript is an antipattern

by doublegon 6/21/2017, 10:12 AMwith 11 comments

by minitechon 6/21/2017, 11:16 AM

Piling a bunch of redundant libraries on top of each other, becoming confused, and drawing the conclusion that functional programming was the problem? Okay.

by KeyboardFireon 6/21/2017, 11:36 AM

The article seems hopelessly tautological. One of the arguments for Clojurescript is that it "is a functional programming language," with the reasoning that this makes functional programming easier. The author then goes on to answer - and I quote - "Why isn’t it popular?" with "Not popular enough." I am thoroughly enlightened.

by vorotatoon 6/21/2017, 12:40 PM

Functional programming in javascript is an antipattern instead use clojure. LOL if I were going to use a ??? -> js, I would at least use fable/reason. I have tried to get into lisp several times and then tried once to get into OCaml/F# and it was effortless.

by AstralStormon 6/21/2017, 11:17 AM

> Felt like the language was fighting me every step of the way

Welcome to JS programming.