For anyone confused by the first example, createVerificationMessage is supposed to take the output of checkAge, not checkAge itself
@eyriusbacterius2 жыл бұрын
Can you make a video how to use functional programming in the DOM?
@miniappletheapple2 жыл бұрын
actually in functional programming, you have two type of function, function with side effect and pure function. functional programming still has side effect, but it control side effect, not remove side effect.
@striderstache992 жыл бұрын
The greater than function is hard to read. One, I'd use better variable names, and 2, I'd mitigate the use of arrow functions here. All of that makes this really hard to understand what is happening.
@replikvltyoutube37272 жыл бұрын
Good video, the only remark is that js is prototype oriented, not Object. OOP operators in it are just syntactic sugar
@joestard.altair94542 жыл бұрын
+1 like
@roblesrt Жыл бұрын
Where is the supporting facts that says nobody uses functional programming? Click bait?
@itsnobledean9450 Жыл бұрын
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.