When you're staring at an expression like a + b * c / d - e and your brain just... nopes out. Sure, you COULD memorize the operator precedence table like some kind of mathematical wizard, OR you could just throw parentheses at everything like you're building a fortress of clarity. The calculator might know its order of operations, but do you trust it? ABSOLUTELY NOT. Better slap those parentheses around every single operation just to be safe. Is it elegant? No. Does it work? Also questionable. But at least you know EXACTLY what's happening, even if your code looks like it's wearing braces on its teeth. Pro tip: PEMDAS is great until you realize programming languages have like 47 different operator precedence levels and bitwise operators lurking in the shadows.
I Still Don't Know My Operator Precedence
10 months ago
439,178 views
0 shares
operator-precedence-memes, parentheses-memes, order-of-operations-memes, code-readability-memes, math-memes | ProgrammerHumor.io
More Like This
I always get confused at this part of C
3 years ago
88.9K views
0 shares
follow your dreams
3 years ago
156.4K views
0 shares
Me in an interview room
4 years ago
95.0K views
0 shares
This CTO got his staff to pay attention to his commit messages! You won't believe how he did it!
5 years ago
164.0K views
0 shares
reject button, return to command line
5 years ago
214.3K views
0 shares
Can I install this on my program too?
5 years ago
131.8K views
0 shares
Xiaobi M.2 NVMe SSD Enclosure, Tool-Free Installation, External SSD Reader
Affiliate
External Storage
xiaobi
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++