@dibblego how so?
-
-
-
@abevoelker Round 1 Fight! scala> null.asInstanceOf[Int].asInstanceOf[String] scala> 0.asInstanceOf[String] - Show replies
New conversation -
-
-
This Tweet is unavailable.
-
@noam_lewis In no way do I advocate peering down the rabbit hole, except for entertainment.
End of conversation
-
-
-
@dibblego I never understood why Scala even has null with all the monads glory.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@RobJamesBerry
@dibblego not valid. Kotlin can do Java interop without null. -
@martinpallmann @RobJamesBerry As can ermine. Scala does java interop poorly, and even moreso having failed here.
End of conversation
New conversation -
-
-
@RobJamesBerry
@dibblego of course it can't remove null from the jvm entirely, but could remove it from the language. -
@martinpallmann @RobJamesBerry Amazing is that it's easy to implement better than java, but not worse, and yet here we are at#scala
End of conversation
New conversation -
-
-
@RobJamesBerry
@martinpallmann See ermine.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.