by nextlevelwizard · 3y ago · 0 comments
same with give me `min(of_this)` instead of `of_this_want.min()`
The Rust x.min(y) to me is so asymmetric. min(x, y) conveys the symmetry of the operation much better, x and y are both just elements. (And the latter is how it can be used in Python. In Rust, you can call Ord::min(x, y) to get the symmetry back, but it is less favoured right now for some reason.)