Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In Groovy if you see x==~y and x == ~y you can can get a problem, because it is easy to oversee the space in between, changing the meaning of the compare. The problem is toped by x != ~y being the negation of x == ~y, but there is no negation for ==~. This issue is therefore asking for a replacement of the operators ==~ and =~ in a way that allows the negation too and is still readable. For this no unary operator symbol should follow the equals if equals is kept.