Hacker News new | ask | show | jobs
by friend-monoid 1953 days ago
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
1 comments

I agree. Something like

  def f(x):
    print( 3 > x < 8)
is horrible.