Enumerable’s loveliness - Andy Croll

30-May-2025 24
I’m often nerd-sniped by the “Interview Question of the week” that Cassidy Williams includes in her weekly newsletter. Typically it’s when I see a solution that show’s off Ruby’s cornucopia of Enumerable methods. This week’s odd_sum was catnip. Sign up to get a nugget of Ruby knowledge every couple of weeks or so. [email protected] Brighton Ruby 2024 The UK’s friendliest, Ruby & Rails event. Thursday 19th June, 2025. Includes ice cream → This week’s question: Given two arrays, return all pairs (where each number is in each array) whose sum is an odd number.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle