Are there plans to implement implicit conversions like in Scala?
For example, if I define following implicit function:
implicit def Double2Complex(value : Double) = new Complex(value, 0.0)
Then I can pass double values to any function that accepts only Complex, because the compiler converts the double value implictly to Complex. This makes programming more comfortable and you have less boiler plate code.
But – if I remember correctly – this also increases compile time in Scala.
What do you think of this feature?