Sujet : The IMP Saga Continues. Microslop Fails As Usual
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacyDate : 24. Mar 2024, 19:07:38
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <17bfc25626118a56$68$3081049$802601b3@news.usenetexpress.com>
Since I am an assembly language guru, and since I never had before
encountered the IMP operator, I was curious as to why this ridiculous
abomination would ever be included in ANY programming language.
Check this article from over 10 years ago:
https://softwareengineering.stackexchange.com/questions/184089/why-dont-languages-include-implication-as-a-logical-operatorThese are the definitive responses:
"Implication is very counter-intuitive, even to logic-minded people
such as programmers. The fact that three out of the four truth table
entries are true surprises many people."
"At the same time, there is an easy workaround: use operators ! and ||"
That is, "A => B" is equivalent to "~A OR B."
But Microslop included the IMP operator. Why?
Because Microslop believed that they were the authority on
everything digital. But no one ever used Microslop IMP.
The "authority" thus failed big time.
C does not have it, because C, like FOSS, is created by
rational and competent people.