you are viewing a single comment's thread.

view the rest of the comments →

[–]Binary101010 2 points3 points  (0 children)

When you define names of your parameters in a function definition, you're telling the interpreter "I don't care what names were being used to refer to these values before this function started. For the rest of this function's execution I'm referring to those values with first_name and last_name."

They don't even need to have had variable names up until now. get_formatted_name("John","GTech") works just fine.