3 ms·
Different functions can expect different arguments. For numbers, they are all the same. That's a difference! Well, you can argue that there are also different
by valenterry 5y ago
Different functions can expect different arguments. For numbers, they are all the same. That's a difference!
Well, you can argue that there are also different numbers and you can do devision only by some of them. But in fact, if you were to separate them and wrap them to do things differently, then this would get closer to the strategy pattern.