Re: Giving fucnction parameters defaults assigned values later
- Posted by mattlewis (admin) Jun 09, 2013
- 1171 views
DerekParnell said...
mattlewis said...
I don't see any reason why this wouldn't work in the future.
I guess another way of asking this is "Is it guaranteed that the value of the default argument will always be set when the function called rather than when it is being defined?"
Yes. You should be able to rely on that staying true.
Matt