You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/04/03 08:27:52 UTC
[jira] [Reopened] (SPARK-1095) Ensure all public methods return
explicit types
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org