|
|
|
|
|
by krisoft
814 days ago
|
|
I don't think args is the right variable name to pick for this argument. As you say it is what that thing is called idiomatically. I think it is fine. It is more about if your code needs to parse an internationaly formated phone number from a string into a struct. (or pick anything else specific only to your problem domain) How do you call that function? Do you call it prsphi? (prs for parse, ph for phone number and i for international) Or do you call it parse_international_phone_number? Or maybe international_phone_string_to_phonenumber_struct? (or something similar in CamelCase) That is where the difference starts to matter. And I for one don't want to read code with many prsphi's around. |
|
I have never worked with phone numbers outside of a class assignment so prsphi is not something I would understand. However if I was in a codebase that worked with phone numbers often I'd probably get to know it and like the shortness.