Lazy, Lazy, Lazy all the things !

Lazy, Lazy, Lazy all the thingsĀ !

Lazy programming has been a fundamental feature of a lot of programming languages, especially functional programming languages like Haskell. Being inspired by these languages, Ruby offers us a few nifty ways of doing lazy programming. The ability to avoid needless calculations, perform operations on potentially infinite sequences and defining control flow as abstracts can exponentially reduce the running time of your programs.

0b1540133151bf8f02b726268d962517?s=128

Shaunak Pagnis

January 28, 2017
Tweet