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

Not an issue #18

Closed
lstefano71 opened this issue Jun 4, 2020 · 3 comments
Closed

Not an issue #18

lstefano71 opened this issue Jun 4, 2020 · 3 comments

Comments

@lstefano71
Copy link

Definitely not an issue: more a curiosity. I am intrigued by this line:

Connections#.⎕NS''

Why the #.? I have very similar code in one of my projects (unsurprisingly since I copied it from JsonServer) but I don't think I went for the "#.". Is there a good reason to create that particular namespace as a child of root?
Thank you!

@arcfide
Copy link
Contributor

arcfide commented Jun 4, 2020

The namespace is created relative to your current path, which can greatly affect your variable environment depending on the code you want to write. Using # guarantees that the namespace is created in a location that does not expose the same tree of environments that might otherwise be created.

@lstefano71
Copy link
Author

lstefano71 commented Jun 4, 2020 via email

@bpbecker
Copy link
Contributor

I expect the assignment to # was a remnant from earlier server versions, but it would probably make sense to make it a field inside the Jarvis instance.

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

3 participants