Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



#functions #named-arguments #scala
In a normal function call, the arguments in the call are matched one by one in the order of the parameters of the called function. Named arguments allow you to pass arguments to a function in a different order. The syntax is simply that each argument is preceded by a parameter name and an equals sign.
If you want to change selection, open document below and click on "Move attachment"

Scala Functions with Named Arguments
Useful ResourcesScala Quick GuideScala Useful Resources Selected ReadingDeveloper's Best PracticesEffective Resume WritingComputer GlossaryWho is Who Scala Functions with Named Arguments Advertisements Previous Page Next Page <span>In a normal function call, the arguments in the call are matched one by one in the order of the parameters of the called function. Named arguments allow you to pass arguments to a function in a different order. The syntax is simply that each argument is preceded by a parameter name and an equals sign. Following is a simple example to show the concept: object Test { def main(args: Array[String]) { printInt(b=5, a=7); } def printInt( a:Int, b:Int ) = { println(&qu


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.