Comment

Comment by pfarrell

Exactly [1,2,3,4,5].select{|x| x%2 == 0}

If I were interviewing a a Ruby dev, anything other than Array#select indicates lack of experience.

parent pfarrell 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton