4 ms·
Risk of Misplaced Arguments in Java
- sorokod 7y agoThis is available in intellij too. Kotlin supports named parameter which makes the problem go away alltogether.
- tanin 7y agoYes, Scala also supports named parameters, though there is still risk when we don't use it. A while ago, I actually made a Scala compiler plugin (https://github.com/GIVESocialMovement/scala-named-argument-compiler-plugin https://github.com/GIVESocialMovement/scala-named-argument-c...) that enabled us to selectively enforce which method required named parameters. Anyway, Lilit brings IntelliJ's awesome features to your browser, directly on github.com (i.e. within pull request) :) Please let me know if you are interested to try it with your Java repo.