What can I do to share code among views in CouchDB?
Jesse Hallett has some good utility methods, including
fun
From the CouchDB Wiki:
There are no development plans to share code/functions between views. Each view function is stored according to a hash of their byte representation, so it is important that a function does not load any additional code, changing its behavior without changing its byte-string. Hence the use-case for CouchApp.