SCP-CBN / scpcb

SCP - Containment Breach 1.4
http://scpcbgame.com/
52 stars 11 forks source link

Better approach to external #120

Open Saalvage opened 3 years ago

Saalvage commented 3 years ago

Having to include every single external variable is aids.

juanjp600 commented 3 years ago

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

Saalvage commented 3 years ago

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 commented 3 years ago

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.