news
16
Partial Operator Precedence
2026-11-05A proposal for partial operator precedence would let languages avoid deep precedence hierarchies by requiring parentheses for some operator combinations, as WGSL does with expressions like a + b & c. Commenters welcomed the compromise, citing Go’s five-level model as more readable than C/C++ and noting that tools such as Prettier can undo explicit parentheses.
Comments
0Discuss on Hacker NewsOnly full members can comment
Log in to express your opinion.
No comments yet.