Hi! Author here, and glad to see my writeup on HN.<p>I’m a JS developer by trade, but I’ve recently started exploring FP/Haskell and came across the Y Combinator. The Y writeups currently online that I read were wonderful for a seasoned Haskell programmer, but I thought it would be great to explore the concept from a more FP beginner-friendly lens, and through a more familiar language - JavaScript.<p>I hope this exploration is helpful, and feel free to leave any questions or comments you may have below!
Jim Weirich's 2012 Ruby Conf talk is also a great introduction to the Y Combinator and Lambda Calculus.<p><a href="https://www.youtube.com/watch?v=FITJMJjASUs" rel="nofollow">https://www.youtube.com/watch?v=FITJMJjASUs</a>
This is an article, not a Show HN. Please read the rules: <a href="https://news.ycombinator.com/showhn.html" rel="nofollow">https://news.ycombinator.com/showhn.html</a>.
Of course, if your language doesn't support recursion it probably doesn't have first-class functions either. It's pretty trivial to implement recursion if you can pass a function pointer around.