rsutoratosu
Platinum Member
http://www.youtube.com/watch?feature=player_embedded&v=y9h1oqv21Vs
Settle those silly fights over the years..
Settle those silly fights over the years..
What retarded reddit BS is this. Who the hell doesn't know how to do order of operations properly.
Random internet BS once again.
What retarded reddit BS is this. Who the hell doesn't know how to do order of operations properly.
Random internet BS once again.
Bah, with the proper usage of PEMDAS that is already figured out. The idea of "implied" parenthesis is really a non issue ESPECIALLY with the authors conclusion in the video. Implied parenthesis means that we ARE just computers getting the answer. Write them, don't write them, I don't care. Given the equation, there is a specific way to get the answer (sure you can use distribution or whatever, but that does not change the rules).If a problem can be interpreted more than one way, then use parentheses.
But the video does make a point that I have said for years.
If a problem can be interpreted more than one way, then use parentheses. If there is any confusion as to the answer, then you have failed to produce a legible problem. The issue is with the problem creator, not the people performing the math.
However, I will say this: when I am programming and I am unsure how the mathematics will actually be done, you better believe I am going to either include parenthesis to dictate it, or break down the problem into miniature steps to ensure it is calculated correctly.
It's sad you have to use parentheses when they shouldn't be necessary. Is it because you don't trust the person who wrote the interpreter or compiler properly with PEMDAS MD and AS in the order they appear left to right?
edit: note I'm not saying you're sad, I'm saying it's a sad commentary on society not knowing simple math to the point we mistrust compiler/interpreter language programmers to know and implement order of operations properly.
What? You think it might be also to make it about 100x easier to read what we write for things like debugging purposes?
Yeah I know, right?I don't know about you,
but I hate trying to figure out a long ass equation written in code that doesn't have parenthesis to help me figure out what is happening quickly and easily.
If a problem can be interpreted more than one way, then use parentheses. If there is any confusion as to the answer, then you have failed to produce a legible problem. The issue is with the problem creator, not the people performing the math.
You obviously have never coded in LISP.
More parentheses are NOT the solution to readability.
I tried using parenthesis in my scientific calculator but it won't compute I get a syntax error???
Yeah, it's really lame because I tried to add, subtract, multiply and divide positive and negative integers.
When some people smile, they use parentheses.
You have an android phone or tablet? Even the stock calculator can do that. It handles parentheses fine as well.