I have Googled this and got patchy / contradictory opinions - is there actually any difference between doing a map and doing a collect on an array
map
collect
#collect is actually an alias for #map. That means the two methods can be used interchangeably, and effect the same behavior.
#collect
#map