|P is for Practical|
Re^4: Accessing a scalar value in another subroutine?by LanX (Canon)
|on Sep 23, 2012 at 21:41 UTC||Need Help??|
> Emulating that limited-use facility in a language the does not have runtime facilities to support just imposes addition runtime costs for no conceivable benefits.
yes, avoiding runtime costs is the real problem.
> The only example I've seen that makes any logical sense at all (to me), is the ability to query the information in a repl.
docstrings are mostly oneliners (at least in elisp)
Other applications are methodbrowsers/tabexpansions showing additional infos.
Or tooltips in IDEs when hovering the mouse over a method call.
PODs are not DRY, the subname must be repeated, docstrings are automatically at the right place.