Friday, December 29, 2017

Ruby 2.0 Works Hard So You Can Be Lazy #lzodevelopment



Ruby 2.0’s new lazy enumerator feature seems like magic. In case you haven’t tried it yet, it allows you to iterate over an infinite series of values and take just the values you want. It brings the functional programming concept of lazy evaluation to Ruby – at least for enumerations.

from #lzodevelopment http://ift.tt/1pPtT4B
via freelance WordPress developer

No comments:

Post a Comment