3 ms·
> yes! I have devs with college degrees who don't understand operator precedence. Bitwise operators in C-like languages have precedences that make no sense at
by tomsmeding 9y ago
> yes! I have devs with college degrees who don't understand operator precedence.
Bitwise operators in C-like languages have precedences that make no sense at all; I can't remember those either. (Even though they sort-of make sense if you consider their historical heritage... no excuses though.) But do you really see software developers with a university degree that mess up the precedence of times and plus? I shudder when thinking about them working with my code. I would really appreciate to be able to write e.g.
a + b == 0 || c * d - e > f / g
without a misunderstanding of precedence. Why is that not a basic feature in the first programming course one gets? It certainly was in mine, two years ago.
EDIT: is there any way to sanely embed an asterisk in normal text here?