T.J. Crowder (2017-04-12T09:09:22.000Z)
tj.crowder at farsightsoftware.com (2017-04-12T09:12:30.790Z)
> Personally I think `a < b` should just become a compile error if the > types are not number. TypeScript? I'm not following you. JavaScript variables don't have types, so it can't become a compile-time error; and making it one would *massively* break the web. (Yes, you can use TypeScript to get types if you like, but we're not talking about TypeScript.) > ...that's a separable concern which should not be part of the operator's > behaviour IMO... There's no talk of changing how `<` and `>` (or `<=` and `>=`) work. But just as we have `==` (loose, coercing) and `===` (strict, non-coercing), the discussion is about having strict non-coercing versions of `<`, `>`, `<=`, and `>=`. -- T.J. Crowder