Comment

Comment by dahfizz

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.

parent dahfizz 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton