Today's Scala puzzler: Without checking, what is the type and value of x? val x = - 128.toByte // note the whitespace ... and why?
-
-
@propensive Ha yeah. I checked after posting that and obviously am wrong :P -
@d6 I guess there is always an implicit space between the -/128, so the extra one's irrelevant. Then the - is parsed as part of the number.
End of conversation
New conversation -
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.