Named arguments make client code more readable. They also help avoid bugs when a long argument list has several fields of the same type. It’s easy to pass values in the wrong order. Of course, it’s better to avoid long argument lists in the first place.
The advantage of named arguments. You can not mix all the arguments up.
Share this highlighthttp://www.safaribooksonline.com/a/programming-scala-2nd/1024179/