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.


Shaunak Pagnis

January 28, 2017