I would go one step further here an say, for example,filterByActiveStatus is better than just…
Andrew Eddie
11

You don’t need filterByActiveStatus if you can already do filter(isActive, array). Note that isActive tells you that it’s going to select active records from the array, specifically, whereas byActiveStatus doesn’t tell you whether your selecting for active or inactive.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.