I once asked my college professor about operator precedence in C. He had been writing C code in industry for decades.
"I have no idea" he told me.
He said many programmers try to make their code as short and pretty as possible, as if there was some kind of character limit. Instead of falling into that trap, he just used parentheses. And the order of operations never was an issue.
"I have no idea" he told me.
He said many programmers try to make their code as short and pretty as possible, as if there was some kind of character limit. Instead of falling into that trap, he just used parentheses. And the order of operations never was an issue.