Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Java supports == for equality primitive types. Right now == means identity in Groovy. This is so confusing when working with numbers in Groovy.
So lets use
= for assignment
== for equality of all objects in Groovy
=== for identity
Right now we're using := for equality and == for identity. So
:= turns to ==
== turns to ===