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

Fix namespaces #176

Open
benfb opened this issue Dec 8, 2015 · 1 comment
Open

Fix namespaces #176

benfb opened this issue Dec 8, 2015 · 1 comment

Comments

@benfb
Copy link
Contributor

benfb commented Dec 8, 2015

It’s frowned upon to use use in production code, but it’s handy when you’re experimenting in the REPL and you want to quickly get your hands on some functions
http://www.braveclojure.com/organization/#Requiring_and_Using_Namespaces

This would be a fairly large undertaking.

Right now, external namespaces are used in push rather than required. This causes side effects.

Actually changing uses to requires would be relatively easy, but old code would also need to be migrated somehow, so I'm not sure if this is actually worth it.

Still, isolating namespaces would be friendlier and more idiomatic.

Thoughts?

@lspector
Copy link
Owner

lspector commented Dec 9, 2015

I've been a slow convert to require, and while I still prefer use in many contexts with small projects, I agree that Clojush has grown too big for this. But changing this would indeed require a fair bit of work.

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

2 participants