In 2007 Guido rejected `prod` for #Python:
In June 2019, it was added as math.prod:
For lit decades now I've wondered what about Python irked me so, even as it came and went as my bill-paying language.
It might be a combination of this Benevolent Dictator For Life shit and this "just learn to use reduce—oops, reduce moved to functools—oops, use math.prod" inelegant backpedaling as an excuse for admitting mistakes.
Along these lines, last year #Swift was considering adding isEven and isOdd, the proposal citing how frequently these are searched:
In the end, they rejected isEven and isOdd but they did accept isMultiple:
with an unconvincing set of rules (these things are about taste more than people admit), but more than Guido gave.
The end result, however, is valid:
"isEven and isOdd offer no substantial advantages over isMultiple(of: 2)."
#Python remains a great prototyping language though, use it.
Until OCaml or TypeScript or something better comes along with static types as well as Numpy and Scipy and Pandas and Matplotlib.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!