[
https://issues.apache.org/jira/browse/SPARK-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reynold Xin reopened SPARK-1095:
--------------------------------
Assignee: Reynold Xin (was: prashant)
> Ensure all public methods return explicit types
> -----------------------------------------------
>
> Key: SPARK-1095
> URL: https://issues.apache.org/jira/browse/SPARK-1095
> Project: Spark
> Issue Type: Sub-task
> Reporter: Patrick Wendell
> Assignee: Reynold Xin
> Fix For: 1.0.0
>
>
> This talk explains some of the challenges around typing for binary
> compatibility:
> http://www.slideshare.net/mircodotta/managing-binary-compatibility-in-scala
> For public methods we should always declare the type. We've had this as a
> guideline in the past but we need to make sure we obey it in all public
> interfaces. Also, we should return the most general type possible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]