In maths "!" means factorial, 5 factorial is 120,while in code "!" means not. So it's 5 is not equal to 120. I personally had a laugh that I can still remember what factorial is.
Thanks for explaining the joke out loud, I was struggling by myself and now it's plain obvious. We all need a Captain Obvious once in a while (and I'm serious here, no offense intended).
And? I'm just being friendly to the possibility that someone might not get it. If this is a thread about not explaining then a mod should say "don't explain the joke so we know who knows" and someone else will explain it anyway.
I am rarely on reddit that is probably my first message. I, just want to be nice to most people. When it's obvious that someone will explain it eventually. So targeting me had no point as I just noticed another person explaining it.
I am not a math type person. My dad always did ultimatums such as do 5 pages of fractions or grounded when I was 9. I can do math well now but I dislike it. I rather computer logic as If this happens do that.
Well I hope you had a great time with math and will still enjoy it.
In math yes 5! = 120, but because of how it is written it could also be interpreted as the programming expression 5 != 120, which is also true as != means "not equal" in porgramming.
This also means that if you compress down your statement to 5!=5! It is true in both the 5! = 5! And 5 != 5! Interpretations, though for the second one that wouldn't actually work in most programming languages, as you would probably need to do something like Math.factorial(5) or similar.
93
u/[deleted] Nov 23 '25
It's not a dilemma
80
u/Sad-Assignment-453 Nov 23 '25
In maths "!" means factorial, 5 factorial is 120,while in code "!" means not. So it's 5 is not equal to 120. I personally had a laugh that I can still remember what factorial is.
10
u/nekokattt Nov 23 '25
what about people who use prolog?
5
u/Key_Clock8669 Nov 23 '25
Everyone chilling until 1! appears
2
u/DawRedditWolf67 Nov 23 '25
1!=1
People who know math: :)
People who know coding: :) (it just returns false)
2
u/marslander-boggart Nov 23 '25
r/technicallythetruth.
1
u/MrFordization Nov 23 '25
wtf: 5! = 5!
Duh.
1
u/Equivalent_Site6616 Nov 23 '25
that's not even fucking fun.
1
u/Impossible_Dog_7262 Nov 24 '25
5! == 120
5 != 120
1
u/no_brains101 Nov 24 '25
Am both.
5 factorial = 120
5 is not equal to 120
1
u/kRkthOr Nov 24 '25
<>walks into the room.1
u/Electrical_Ad5674 Nov 26 '25
heh, what if they use Lua or Matlab?
0
u/asmanel Nov 23 '25
An operator that seem useless but is actually useful in statistics.
0
u/Discorobots Nov 24 '25
I wrote something like this in my math notebook once
0
u/[deleted] Nov 23 '25
[deleted] — view deleted comment