DEV Community

loading...

Discussion on: Functional programming in Javascript

Collapse
stereobooster profile image
stereobooster

IMO explaining laziness by adding closures on top is misleading. "Lakmus test" for laziness is Y-combinator. There is no way to implement Y-combinator in none-lazy language (it is possible to implement Z-combinator, though)