Re:Databricks Scala Style Guide
by azinman2 on Thursday March 19, 2015 @03:01AM
(#9230569)
I haven't heard about "it should only be used for pattern matching." Is there a performance reason or something more stylistic?
I use them all the time because of all the convienence associated with them. I'm not really aware of the downsides except for the ~22 parameter limit (I hit it when deserializing JSON that represents many possible Option(al) keys... And named parameters are awesome).
I use them all the time because of all the convienence associated with them. I'm not really aware of the downsides except for the ~22 parameter limit (I hit it when deserializing JSON that represents many possible Option(al) keys... And named parameters are awesome).