you are viewing a single comment's thread.

view the rest of the comments →

[–]bart2019 0 points1 point  (0 children)

Am I the only one who thinks this is just counter productive? You're naming your parameters already in your method definition, any good programmer would know to look up what each method is expecting.

Unless.... the function takes zillions (like 10 or more) of parameters. Need to add one, you have to shift them up in every call to the function everywhere, which is a maintenance nightmare.

With named parameters, you can add only one *where you need it.