Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is "dev-mode?" a function? #115

Open
chmllr opened this issue Jun 11, 2012 · 0 comments
Open

Why is "dev-mode?" a function? #115

chmllr opened this issue Jun 11, 2012 · 0 comments

Comments

@chmllr
Copy link

chmllr commented Jun 11, 2012

After reading the API documentation I didn't realize, that dev-mode? is actually a function, so I spent a lot of time, trying to understand what's wrong with my code, until I looked at the implementation. Apparently, there is a specific reason for dev-mode? being an argument-less function, but what is it? The mode seems to be set once at the server start, so why to re-evaluate the expression again and again?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant