Tian Gao created SPARK-54628:
--------------------------------

             Summary: Remove unnecessary explicit super() arguments
                 Key: SPARK-54628
                 URL: https://issues.apache.org/jira/browse/SPARK-54628
             Project: Spark
          Issue Type: Improvement
          Components: PySpark
    Affects Versions: 4.2.0
            Reporter: Tian Gao


We should remove all those unnecessary explicit super() arguments.

super(A, self) in class A is strictly equivalent to super(), with many caveats:
 * fagile to class name change
 * easy to be missed when copy/paste
 * confuse people

We should avoid using it when it's not necessary



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to