I'm not a mathematician but I'm fairly sure this is only loosely related to category theory. For example, I don't think there is any concept of guarded functions, contracts, etc. in category theory. The video series should probably have been called "Functional Javascript" or something. Excellent videos nonetheless!
I agree that it is a good idea to avoid using `this`. Recently, I have started writing Javascript and only attach functions to objects as a way to namespace them. I think a great example of this style is the Connect framework where `this` isn't used but instead, every middleware takes a req, res, next arguments.
Wow, I just noticed that the down arrow disappears. I'm sure I'm not the only one. Wouldn't it be better to hide both arrows then or make the arrow green like in the comments? It would allow to scan vertically which stories you have up voted. As it stands right now you have to zig zag with your eyes.
Hi all. I just wrote this small npm module to solve a problem I had. Hope some of you find it useful. Let me know if you have any questions or comments. I haven't tested it extensively yet apart from the unit tests.