Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Logical Namespacing #4

Open
WillSams opened this issue Apr 5, 2020 · 3 comments
Open

Logical Namespacing #4

WillSams opened this issue Apr 5, 2020 · 3 comments

Comments

@WillSams
Copy link
Contributor

WillSams commented Apr 5, 2020

The Otter code should be, at least, logically namespaced based on the folders. I.e., Otter.OgmoPlayer() should be Otter.Utility.OgmorPlayer(). Would make things easier in the future to avoid code collision. Also, it would avoid some of the possible code collisions with SFML's namespaces. For example, Otter.Shader and SFML.Graphics.Shader.

@kylepulver
Copy link
Owner

I think that makes sense. Initially I made it all just one big namespace because it was easier but as the codebase grew I was too lazy to organize the namespaces

@WillSams
Copy link
Contributor Author

WillSams commented Apr 9, 2020

Cool beans and good timing because I finished up the last bit of namespacing last night in my fork. I'll test it a bit more before rolling that code into my master before I do a pull request.

@WillSams
Copy link
Contributor Author

Doneski. #7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants