After years of usage of coffee script I still write not x in y by mistake. Python interprets it as not (x in y) but coffee interprets it as (not x) in y which usually translates to false in y which is not what we want.
It should suggest to change it to x not in y or if it was what you wanted, !x in y or (not x) in y.
After years of usage of coffee script I still write
not x in y
by mistake. Python interprets it asnot (x in y)
but coffee interprets it as(not x) in y
which usually translates tofalse in y
which is not what we want.It should suggest to change it to
x not in y
or if it was what you wanted,!x in y
or(not x) in y
.Same with
not x of y
.