3 ms·
The code I'm working on right now is littered with functions which take "url" as a parameter, and normalize it with this line: url = url_normalize(url) It
by pjscott 16y ago
The code I'm working on right now is littered with functions which take "url" as a parameter, and normalize it with this line:
url = url_normalize(url)
It's often convenient, for the sake of clear code, to be able to modify the values of the function's argument variables.
- newobj 16y agoThat's a decent use case, and one that I'm surprised I forgot, given that I've written that same line of code so many times. :)