Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
friend-monoid
· 5y ago · 0 comments
Yes absolutely. I tend to put my comparisons in order from least to highest always these days, so it’s “value < max” and “min < value”. Eases up on the headwork
Comments
[–]
gus_massa
5y ago
I agree. Something like
def f(x): print( 3 > x < 8)
is horrible.