Object Oriented Design is powerful for organizing software behavior, but without the benefit of lambdas’ code-as-data flexibility, it often fails to reduce solutions to their simplest form. Although Ruby’s Enumerable functionality is widely appreciated, its lambdas generally are not. This presentation introduces the developer to lambdas, and shows how they can be used to write software that is cleaner, simpler, and more flexible. We’ll go through lots of code fragments, exploring diverse ways of exploiting their power and identifying reusable functional design patterns along the way.
1 view
438
119
1 year ago 00:28:16 1
RubyConf 2022: Ruby Lambdas by Keith Bennett
2 years ago 00:32:40 1
RubyConf 2022: A Tale of Two Flamegraphs: Continuous Profiling in Ruby by Ryan Perry
2 years ago 00:21:02 1
RubyConf Mini 2022: Anyone Can Play Guitar (With Ruby) by Kevin Murphy
2 years ago 01:22:59 1
RubyConf Mini 2022: From Start to Published, Create a game with Ruby! by Cameron Gose