I'm writing some very beginner-friendly articles, and I'd like to do one on, say, 10 or 11 essential Array methods for new Rubyists.

Senior devs: what methods would you put on such a list? Anything you consistently see new devs ignoring/misunderstanding?

@adamlombard I'd say Array#map if they're very new, then on Enumerable I'd say , ?, , . The last few ones are more rarely needed but often make for shorter code when the occasion rises

Sign in to participate in the conversation

A Mastodon instance for Rubyists & friends