6 ms·
If you look at the code, you'll be (unpleasantly) surprised, I think. The author does not seem to have known what Y combinator is.
by drivenextfunc 1y ago
If you look at the code, you'll be (unpleasantly) surprised, I think. The author does not seem to have known what Y combinator is.
- plaitowin 1y agoI'm pretty sure Shriram Krishnamurthi understands the Y combinator...
- srpablo 1y agolmao Google him
- almostgotcaught 1y agoThese are my favorite types of comments on hn
- neilv 1y agoThe HN guidelines suggest assuming the strongest interpretation of what someone said, so obviously the commenter was making a joke. :)
- Philpax 1y agohttps://en.wikipedia.org/wiki/Shriram_Krishnamurthi https://en.wikipedia.org/wiki/Shriram_Krishnamurthi
- skrishnamurthi 1y agoDon't see Y-combinator mentioned anywhere on that page.
- adityaathalye 1y agoBut I do see that page mentioned on Y Combinator's page. The joke can go on forever...
- shawn_w 1y agoSomebody forgot to add a base case.
- adityaathalye 1y agoNo need... Shriram is already based.
- skrishnamurthi 1y agoIf it helps, you will find the Y-combinator described (indeed, derived) in the first edition (https://cs.brown.edu/~sk/Publications/Books/ProgLangs/2007-04-26/ https://cs.brown.edu/~sk/Publications/Books/ProgLangs/2007-0...) of the author's programming languages book (https://www.plai.org/ https://www.plai.org/). (Page 228, if that helps, though the derivation begins on page 223.) For added fun, the day he teaches it in class, he wears a t-shirt from Y-combinator the startup accelerator (and explains what its name means). Now that we've gotten that out of the way, it remains unclear what is surprising or unpleasantly surprising about the code.
- adityaathalye 1y agoShriram invoking Shriram ... (λ.x (x x) λ.x (x x)) forever \m/ :)
- userbinator 1y agoThis reminds me of when John Nagle showed up in a thread about his algorithm on here.
- blahedo 1y agoIn addition to the general sibling comments, I can personally attest that Shriram knows what the Y combinator is and has been teaching students about it for at least 25 years. My own lecture notes from one of his classes about the lambda calculus and the Y combinator were for a long time on the front page of google results for info about either!