Stupid Scala trick of the week: scala> val a,b,c = 1 a: Int = 1 b: Int = 1 c: Int = 1 scala> You're welcome, Internets
-
-
@propensive@deanwampler@advancedxy yeah, and if you have a mutable thing on the RHS, makes more sense. I know from Enum.., val a,b=Value() -
@dridus@propensive@advancedxy I completely forgot about enumerations. Won't make that mistake again!! ;)
End of conversation
New conversation -
-
-
@propensive@deanwampler why I call it super "fun" is because it replicates side effects unobviously. course, whole thing is unobvious.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@propensive@dridus@deanwampler surprises 100% of users ... was this done specifically to support Enumeration? /cc@extempore2 -
@tpolecat@dridus@deanwampler@extempore2 It predates Paul... I don't remember ever being surprised by it, but I learnt it from Enum first. - Show replies
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.