flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-1548) [DISCUSS] Make Scala implicit parameters explicit in the runtime
Date Sat, 14 Feb 2015 16:28:11 GMT
Stephan Ewen created FLINK-1548:

             Summary: [DISCUSS] Make Scala implicit parameters explicit in the runtime
                 Key: FLINK-1548
                 URL: https://issues.apache.org/jira/browse/FLINK-1548
             Project: Flink
          Issue Type: Improvement
          Components: Distributed Runtime
    Affects Versions: 0.9
            Reporter: Stephan Ewen
            Priority: Minor
             Fix For: 0.9

Scala's feature of implicit parameters is very powerful and invaluable in the design of nice
high level APIs.

In the system runtime, thought, I think we should not use implicit parameters, as they make
the code more tricky to understand and make it harder to figure out where parameters actually
come from. The API niceties are not required there. I propose to make all parameters explicit
in runtime classes. Right now, this concerns mostly ActorSystem and Timeout parameters.

This is nothing we need to do as a separate task, I would suggest to change that whenever
we encounter such a method.

This message was sent by Atlassian JIRA

View raw message