Consider renaming World to JitterWorld or PhysicsWorld
Lurler opened this issue · 2 comments
Lurler commented
Good day.
The word World
is pretty standard way to call your actual game world or a namespace in a project, so I think it would be a good idea to consider renaming World
to JitterWorld
, JWorld
or PhysicsWorld
or something similar to avoid collisions.
notgiven688 commented
I get your point. Two reasons against a change:
- This would unfortunately break the API.
- This is what namespaces are for. The Vector/Matrix/Math struct are an exception, since these types are close to guaranteed to exist somewhere else in the project and are used all over the place.
Since the Jitter2-namespace itself does only house very few elements
there might be the option for you to just remove "using Jitter2;" and add "using JWorld = Jitter2.World;" to get the desired outcome?
Lurler commented
Yeah, it's not a big deal, just small inconvenience. And yes, I myself also added using-renaming as you suggested.