3 ms·
I hadn't thought about it before, but I'd have gone with: > IF THEN OTHERWISE Which avoids overloading OR and maintains better grammar. But I suspect shorter
by xnorswap 4y ago
I hadn't thought about it before, but I'd have gone with:
> IF THEN OTHERWISE
Which avoids overloading OR and maintains better grammar.
But I suspect shorter words were preferable when space was a premium everywhere not least on the display itself.
- Y_Y 4y agoWHEREUPON x PURSUANT y CONTRARIWISE z
- irrational 4y agoWherefore art thou utilizing contrarwise? Dost thy senses leave thee?
- Smaug123 4y agotwitch "Utilize" first arose in 1807 if Merriam-Webster is to be believed, well past the period you're quoting; and "dost" should agree with the number of its noun "senses". ("dost" is second-person, but you need something third-person.) In this context I also don't really like the continuous present of "are you utilizing", but I can't put words to why. I believe "hast thou taken leave of thy senses" is actually recorded to be idiomatic. By the way, ChatGPT suggests (where I've fixed its analogous error in the word "doth"): > Pray tell, wherefore dost thou employ the term 'contrariwise'?
- matheusmoreira 4y agoI remember saving this code from somewhere. #include <stdio.h> #define PREACH printf #define SHOULD_GOD_WILL if #define EACH_AND_EVERY_CREATURE_UNDER_GODS_LIGHT for #define OTHERWISE else #define RETRIBUTE return #define ALONG_WITH && #define THUS } #define LET { int main() LET EACH_AND_EVERY_CREATURE_UNDER_GODS_LIGHT (int i = 0; i < 100; i++) LET SHOULD_GOD_WILL (i % 5 == 0 ALONG_WITH i % 3 == 0) LET PREACH("Fizzbuzz!\n"); THUS OTHERWISE SHOULD_GOD_WILL (i % 5 == 0) LET PREACH("Buzz!\n"); THUS OTHERWISE SHOULD_GOD_WILL (i % 3 == 0) LET PREACH("Fizz!\n"); THUS OTHERWISE PREACH("%d\n", i); THUS RETRIBUTE 0; THUS
- jolmg 4y agoHaskell uses `otherwise`. Example use: greater x y | x > y = x | otherwise = y In Haskell's case, this is a conditional syntax that's alternative to if-then-else, so `else` was already taken. `otherwise` is just a conventional constant for `True` that's chosen for readability.
- Y_Y 4y agoWhich lets you write gems like: if otherwise then not
- deleted 4y ago[deleted]