by aragonite · 3y ago · 0 comments
There are contexts where, somewhat puzzlingly, or(/and) is the more natural word to use, but where it's possible to argue that using and(/or) would have been more literally correct. For example:
> How do you make a higher order function in Python? You have two choices: you can use nested scopes _or_ you can use callable objects.
Here 'or' is the most natural word to use, but one could argue the more literally correct word to use would have been 'and'.
Another simplification: you can use nested scopes and callable objects vs you can use nested scopes and callable objects