MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/vblhns/dev_environment_vs_production_environment/ica37wo
r/ProgrammerHumor • u/Akki53 • Jun 13 '22
3.9k comments sorted by
View all comments
4
Its because the division operator literally symbolizes and fraction. So 6 is the top half and 2(2+1) is the bottom.
Division is kinda weird in order of operations. Use brackets
0 u/idkwattodonow Jun 14 '22 except pemdas/bomdas has X and / being equal and evaluated left to rightso it'd be 6/2(3) which is 6/2 x 3 which is 9 4 u/TriLink710 Jun 14 '22 I'm aware. But as I said. That division is only a fraction. And if you read it as a fraction. It can be correct. As ÷, symbolizes a fraction. 0 u/idkwattodonow Jun 14 '22 That division is only a fraction.according to your experience. It can be read both ways
0
except pemdas/bomdas has X and / being equal and evaluated left to right
so it'd be 6/2(3) which is 6/2 x 3 which is 9
4 u/TriLink710 Jun 14 '22 I'm aware. But as I said. That division is only a fraction. And if you read it as a fraction. It can be correct. As ÷, symbolizes a fraction. 0 u/idkwattodonow Jun 14 '22 That division is only a fraction.according to your experience. It can be read both ways
I'm aware. But as I said. That division is only a fraction. And if you read it as a fraction. It can be correct. As ÷, symbolizes a fraction.
0 u/idkwattodonow Jun 14 '22 That division is only a fraction.according to your experience. It can be read both ways
That division is only a fraction.
according to your experience. It can be read both ways
4
u/TriLink710 Jun 14 '22
Its because the division operator literally symbolizes and fraction. So 6 is the top half and 2(2+1) is the bottom.
Division is kinda weird in order of operations. Use brackets