Arc Forumnew | comments | leaders | submitlogin
1 point by cchooper 6100 days ago | link | parent

In this case it's not causing a problem. You're allowed to give parameters whatever name you want, but if you name the parameter after the function then you can't call the function from within itself because the name will now refer to the argument.

So if you don't need to call the function recursively, there's no harm. It's just a bit confusing.