You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2015/02/14 17:28:11 UTC

[jira] [Created] (FLINK-1548) [DISCUSS] Make Scala implicit parameters explicit in the runtime

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
(v6.3.4#6332)