#'sym expands to (var sym) .
A var can be used interchangeably as a function associated with it. However, by calling var, it dynamically resolves a specific function and then calls it.
In this case, it serves development purposes. Instead of passing the routes handler function by value, the variable with which it is associated is passed so that Jetty does not need to be restarted after changing and re-evaluating shouter.web/routes .
source share