spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (SPARK-1095) Ensure all public methods return explicit types
Date Fri, 03 Apr 2015 06:27:52 GMT

     [ 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


Mime
View raw message