1. 28

  2. 6

    Made more difficult by the fact Guido intentionally gimped lambdas

    1. 2

      It’s ugly, but not really abusing edge cases of Python’s lambdas or anything. The techniques in this article are pretty common in computer generated code.

        1. 1

          It’s funny, because reading this code reminded me of how JS modularity used to be done.

          Not in single lines, but with a lot of passing in deps explicitly like this.

          1. [Comment removed by author]

            1. 9

              On the contrary, it does not explain how to avoid them, but how to abuse them in ways you should NEVER use.

              1. 3

                Yep, I misunderstood the title in the same way but after reading the “article” it actually turned out to be very sensible. Maybe a bit click-baity title.

                1. 2

                  Perhaps should be editorialized a tiny bit to say “How NOT to use lambdas”?

              2. 2

                Did you read the article?