Can I define an implicit conversion to String into a non-abstract class?

IMHO an implicit conversion would be against the goal of a typesafe language design. So the way to go is to use an abstract - then you can have all the conversions you want/need, but still typesafe.

2 Likes