Y
Hacker News
new
|
ask
|
show
|
jobs
by
qznc
3095 days ago
Yes. A similar way to argue is Liskov's substitution principle [0]. It is easy to come up with properties that always hold for bishops, but not for queens. For example, bishops never move from black to white fields or vice versa.
[0]
https://en.wikipedia.org/wiki/Liskov_substitution_principle