Dissecting a Y-Combinator

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 4

  • @neilfmoore
    @neilfmoore 8 днів тому

    > "we'll start with how you can write the Y combinator function in JavaScript"
    Not the language I would have chosen; but fair enough, given that far more people know JavaScript than any language I would have picked.

  • @cyriacus73
    @cyriacus73 19 днів тому +2

    not sure why ytube recommended this:
    I'm coming into this knowing only recursions
    3mins in and I think I'm having an aneurism, I've no idea what lamda is
    5mins in, I don't understand why we need to pass it through the Y combinator though, can't we just run fact(n)... I understand that Yf is f( Yf(n) ) though I thought that's only when f(n) equals n
    yes Sir, it's confusing, I'll read on it and come back later

    • @vadideki-geyik
      @vadideki-geyik  17 днів тому +1

      confusion is good :) - mostly :)

    • @neilfmoore
      @neilfmoore 22 години тому

      @@vadideki-geyik As I tell my students, "confusion means you're learning".