in reply to Re (tilly) 1: Context-Sensitive Subroutine Dispatch
in thread Context-Sensitive Subroutine Dispatch
As a practical matter, I can see where it would be useful to disallow certain (expensive) functions to be called in void context, or to avoid certain operations. Maybe it's just the functional programmer in me. In most cases, it's certainly not necessary. When has that stopped us from doing something interesting?
The point about verifying parameters is well taken, and I'll definitely add that. Thanks for the comments.
|
|---|