Laziness is a Virtue: Lazy, Functional, Immutable Ruby by Craig Buchek

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=e_UxdfqaPAg



Duration: 0:00
95 views
5


Rocky Mountain Ruby 2024

We can write Ruby code in any number of styles, but the community has some accepted norms. For example, almost nobody uses `for` loops any more. We've decided that some styles are "better" than others. And we can keep finding "better" styles.

In this talk, we'll dig into a more functional "lazy" style. Instead of setting up variables ahead of time, we'll call methods as needed. Instead of thinking about how to compute things, we'll think about properties of objects. This style has improved the readability of my code, and it will help you too.




Other Videos By Confreaks


2024-11-09LabVIEW on my Mind by Laura Miller. GDevCon N.A. 2024
2024-11-09DQMH Generic Networking by Joerg Hampel. GDevCon N.A. 2024
2024-11-09The LabVIEW Experiment Live! - LabVIEW Podcast. GDevCon N.A. 2024
2024-11-09Boost Your Innate Human Creativity and Make AI Your Bit** by Nancy Henson. GDevCon N.A. 2024
2024-11-09GDevCon N.A. - 2x7 DVE Config by Aaron Gelfand
2024-11-09Test Workflows and Generative AI by Eric Reffett. GDevCon N.A. 2024
2024-11-09GDevCon N.A. - 7x7 From Ideas to Reality by Casey May
2024-11-09Optimizing Your Code Execution: Case Study: Run-time... by Quentin "Q" Alldredge. GDevCon N.A. 2024
2024-11-09Fail Fast Vs Fail Smart - Lessons Learnt by Ashish Uttarwar. GDevCon N.A. 2024
2024-11-090:02 / 48:12A Tree Full of Object Data by Stefan Lemmens. GDevCon N.A. 2024
2024-11-05Laziness is a Virtue: Lazy, Functional, Immutable Ruby by Craig Buchek
2024-08-23RailsConf 2024 (Detroit) Recap
2024-08-21Erik Thorelli - Real Strategies To Modernize a Legacy React Native Project (Chain React 2024)
2024-08-21Kacper Kapuściak - Microinteractions: The Little Big Things (Chain React 2024)
2024-08-21Shiven Mian & Nikolai Aristo - React Native for Desktop in Microsoft Word (Chain React 2024)
2024-08-21Colin Gray - Default to Consistent (Chain React 2024)
2024-08-21Belén Carozo - Visualizing the Impact of React Native’s New Architecture (Chain React 2024)
2024-08-21Dan Stepanov - Being a Good Platform Citizen (Chain React 2024)
2024-08-21Tom Targosz - Stability First: Building React Native Apps That Scale (Chain React 2024)
2024-08-21Robin Heinze - Sweetening React Native Development With Ignite (Chain React 2024)
2024-08-20NAMIwalks Utah 2024 Recap