Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Scaevolus
· 1mo ago · 0 comments
C/C++ obviously have far too many precedence levels, but you can easily have a more readable tower without forcing parentheses, like Go's 5 levels:
https://go.dev/ref/spec#Operator_precedence
Comments
[–]
layer8
1mo ago
`a + b | c + d` is still confusing and prone to misinterpretation in that scheme.