Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Better approach to external #120

Open
Saalvage opened this issue May 22, 2021 · 3 comments
Open

Better approach to external #120

Saalvage opened this issue May 22, 2021 · 3 comments
Assignees

Comments

@Saalvage
Copy link
Member

Saalvage commented May 22, 2021

Having to include every single external variable is aids.

@juanjp600
Copy link
Collaborator

Maybe we should go with something along the lines of external namespace Namespace;? This way we can still make importing deliberate.

@Saalvage
Copy link
Member Author

We have to consider ambiguity in different modules though, maybe something along the lines of external namespace SCPCB/Namespace when dealing with externals from a different namespace?

@Saalvage
Copy link
Member Author

On closer consideration I think we should keep the shorthand namespace parsing. It would allow for even more deliberate importing and I don't really see anything wrong with it.

@Saalvage Saalvage changed the title AngelScript Better approach to external Better approach to external May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants