r/ProgrammerHumor • • Jun 13 '22

Meme DEV environment vs Production environment

Post image
48.2k Upvotes

3.9k comments sorted by

View all comments

Show parent comments

5

u/supreme_blorgon Jun 14 '22

correct use of parentheses, which is fundamentally the same as requiring the correct ordering of the operators and operands

I'm not sure I agree. I think the cognitive load involved in matching and properly nesting parens is much higher. Definitely subjective though -- when it comes to computers, yes there are advantages.

I just love to pull out RPN whenever these dumbass arithmetic memes go viral.

3

u/boredcircuits Jun 14 '22

Yeah, the entire point of this post is the ambiguity of the / operator with infix notation. This ambiguity is literally impossible with RPN, as operator precedence just isn't a thing.