DEV Community

loading...

Discussion on: Functional Programming: The Basics

Collapse
alhasenzahl profile image
Amanda Hasenzahl Author • Edited

I appreciate you taking the time to comment and give some feedback. The examples that I used were all examples that I found in other articles when I was originally researching and learning about the topic for an internal talk at work (which I then adapted into this article), none of them were mine. If you have more articles or resources on the topic that go along with your comments above, I am more than happy to read them.

Collapse
iwi4a profile image
Ivelin Iliev • Edited

Great article, I enjoyed reading it a lot! I saw that you are after a bit more info and I would suggest Kyle's book - Functional-Light-JS. He has provided it in github or you can find it as a hard copy in amazon any many book stores. He also has a video course on that topic with FrontEndMasters.com, but that requires a subscription.

github.com/getify/Functional-Light-JS

Collapse
jcubic profile image
Jakub T. Jankiewicz • Edited

I would read articles by Erick Elliot on Medium:
medium.com/javascript-scene/master...

Especially "What is Function Composition?"

medium.com/javascript-scene/master...

Also you can check simple example of Higher order function at wikipedia:
en.wikipedia.org/wiki/Higher-order...

Your article is not bad but higher order function section need to be rewritten, the problem is that people will read your article and learn something that is not true, this is really bad for people that just staring out.

Thread Thread
alhasenzahl profile image
Amanda Hasenzahl Author

I appreciate you providing these articles. It was and is never my intention to provide misinformation on these or any other topics in my writing. I will look these over and make appropriate changes.

Thread Thread
jcubic profile image
Jakub T. Jankiewicz • Edited

I know that you didn't make this intentional, you simply didn't know. Sorry if my first comment look like hate comment or something, my intention was to make the article better and if you would learn something in a process it would be even better. I know that this was probably lot of work to create such long article, I know because I've written few articles like that myself. I suggest taking a time and research a little bit more. If you would got Wikipedia article about higher order function, you will notice that this is not what you though, what those functions are and that you need to learn more before you write about it. Consider my first comment as Code Review or Peer Review if you will, if you don't know what CR is you can read about this on Wikipedia en.wikipedia.org/wiki/Code_review

Thread Thread
alhasenzahl profile image
Amanda Hasenzahl Author

I have participated in many code reviews before and am always open to any critiques that are offered in a constructive manner. I have removed the Higher Order Function/Function Composition section completely and will add it back in once I have had the time to go over the material more.

Thread Thread
brodwolfsky profile image
Brodwolfsky

I haven't seen your high order examples, because you've removed, but what Jakub T. Jankiewicz describes here is correct. I'm using Javascript for the Lambda Calculus. So the programming with pure functions and that only works with high-order functions. My GitBook about that (it's in German):
mattwolf-corporation.gitbook.io/ip...

I really recommend every JavaScript developer to read the articles of Erick Elliot, as Jakub T. Jankiewicz points out in the post above. The book is also very groundbreaking.

But a very another inspiring source is also Glebec ( github.com/glebec/lambda-talk )
I really really recommend to watch this:
Fundamentals of Lambda Calculus & Functional Programming in JavaScript:
youtu.be/3VQ382QG-y4