I really feel like the arguments are in the wrong order for Option.
I would expect that the first argument for
map_or_else is the map function and the second be the “else” but that’s actually the opposite. I always felt weird about it and today a colleague was also confused about it (which made me realize I am not crazy )
I could make the same comment about
Obviously it’s too late to fix but does anyone has an explanation?