4 ms·
_ in function parameters indicates that a parameter can be passed by position, without its name. Without _ you would have to call greet(name: "Bob", day:"T
by myhf 9y ago
_ in function parameters indicates that a parameter can be passed by position, without its name. Without _ you would have to call
greet(name: "Bob", day:"Thursday")
but with _ you can call
greet("Bob", "Thursday")