Functions with Endless Amounts of Arguments

Submitted by Adam » Sometimes we need to create functions that require an indefinite and variable amount of arguments. Creating a function to cater for these arguments may seem straight-forward; I've seen several people who have created functions with five or so arguments and if they required a sixth argument at any stage during their project's development, they added the sixth argument to the function and carried on as normal.
Rating: 2.8/5 | 228 clicks | 0 comments | 0 saves | share | report

Additional statistics

Average rating: 2.80/5.0
Clicks today: 0
Clicks this month: 3
Clicks total: 228
Number of comments: 0
Number of saves: 0