[ https://issues.apache.org/jira/browse/SPARK-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Wendell updated SPARK-1095:
-----------------------------------
Reporter: Patrick Wendell (was: Patrick Cogan)
> Ensure all public methods return explicit types
> -----------------------------------------------
>
> Key: SPARK-1095
> URL: https://issues.apache.org/jira/browse/SPARK-1095
> Project: Apache Spark
> Issue Type: Sub-task
> Reporter: Patrick Wendell
> Assignee: prashant
> 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.2#6252)
|