Functional Programming in JavaScript: a superior programming paradigm that nobody uses.

preview_player
Показать описание
JavaScript is a diverse language that supports several programming styles including imperative and object-oriented.

The functional programming style can lead to a JavaScript codebase that is more predictable and easier to maintain.

----

Written by Anthony Gore
Рекомендации по теме
Комментарии
Автор

Many, many years ago, I worked with a Haskell-obsessed "functional programming bro" ...
He used to look at the copy of "Functional JavaScript" by Michael Fogus on my desk with SUCH disdain...
Well, that started me on a long career as a Functional JavaScript TROLL! ;) ...
It's nearly as good as Simon Peyton Jones' now famous quote "Excel is the world's most popular functional language"...
But, y'know, in the world of trolling, we must bow down to the might of Mr. Peyton Jones.

edgeeffect
Автор

For anyone confused by the first example, createVerificationMessage is supposed to take the output of checkAge, not checkAge itself

Daniel_WR_Hart
Автор

Can you make a video how to use functional programming in the DOM?

eyriusbacterius
Автор

Good video, the only remark is that js is prototype oriented, not Object. OOP operators in it are just syntactic sugar

replikvltyoutube
Автор

I absolutely love curry! But functional programming somehow managed to create a form of curry that I absolutely hate! What a confusing anti-pattern!

caribbeanman
Автор

"some developers claim" that JS is a functional language is "a bit much" when you consider that JS started it's life as "LISP in the browser".

edgeeffect
Автор

Man, these programming example are fraught with errors!

caribbeanman
Автор

I just started learning JavaScript on the first of September of this year, so take my opinion with a grain of salt, if you will. I think the best way to teach JavaScript is through functional programming. There are literally no courses that teach JavaScript like that, so I must be wrong.

itsnobledean
Автор

Where is the supporting facts that says nobody uses functional programming? Click bait?

roblesrt
welcome to shbcf.ru