Ran into an interesting article on Blocks, Procs, Lambdas:
http://www.reactive.io/tips/2008/12/21/understanding-ruby-blocks-procs-and-lambdas/
Any opinions on how this advice has or has not changed with newer versions of Ruby?
Ran into an interesting article on Blocks, Procs, Lambdas:
http://www.reactive.io/tips/2008/12/21/understanding-ruby-blocks-procs-and-lambdas/
Any opinions on how this advice has or has not changed with newer versions of Ruby?
When I learn that article by using Ruby 2.1, everything is fine.
Deprecations are rarely mentioned in the API doc
You can also check in this useful article and SO link . There’s also interesting static code analyzer, RuboCop.
Very interesting. Thanks for the article