Seems like this trick is getting more and more well-known, but comparing with 0 or -1 is also fine.