▲ | eurleif 8 days ago | ||||||||||||||||||||||||||||
One can construct English sentences in the opposite order. There is no singular "English sentence order". "Filter for this function in this array" "Map over this array with this function" | |||||||||||||||||||||||||||||
▲ | goykasi 7 days ago | parent | next [-] | ||||||||||||||||||||||||||||
But thats not correct. array_map is variadic. So it should actually be "Map over these arrays with this function." When you use the correct verbiage, the parameter order makes sense. | |||||||||||||||||||||||||||||
▲ | exasperaited 8 days ago | parent | prev [-] | ||||||||||||||||||||||||||||
Right, but these are both more unwieldy. One filters something with something else, in the real world. Filter water with a mesh etc. And (in maths, at least) one maps something onto something else. (And less commonly one maps an area onto paper etc.) Just because you can make your two sentences does not make them natural word order. | |||||||||||||||||||||||||||||
|