>
> Determining at runtime that a particular function exists seems expensive 
> if you have control over the source file that defines the target and the 
> function that needs to know.
>

I don't see why it would be particularly expensive -- just a dictionary 
lookup. We already have code like "if something in globals():" in some 
places in the scaffolding app.

Anyway, in the non-dynamic case, I'm not sure what role source control 
would play. If you're making a fixed function call, you should simply know 
what functions are available in your codebase (of course, there are various 
IDE tools that can help identify all the available functions if you don't 
have proper documentation or want to browse the source code).

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to