Just to because your example here is a bit different than on SO: when you say
no error if I write conditions this way 1 > 2 | 2 > 3
you’re not getting an error, but this probably doesn’t do what you think it does:
julia> 1 > 2 | 3 > 2
false
so still you need either higher precedence || or parentheses.
My personal preference is to always disambiguate with parentheses, which is especially beneficial in a language like Julia with a large number of unicode infix operators which make it basically impossible to remember the precedence hierarchy.