- Make flow of logic more compact. It reduces 12 code lines. - Use filter for simple element removal. Unless there are lots of elements, breaking a loop doesn't actually have practical benefit. - More flexible. It would be easier to edit even if argument is changed to option pack (json).