Otter icon indicating copy to clipboard operation
Otter copied to clipboard

Logical Namespacing

Open WillSams opened this issue 4 years ago • 3 comments

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.

WillSams avatar Apr 05 '20 14:04 WillSams

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

kylepulver avatar Apr 09 '20 05:04 kylepulver

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 avatar Apr 09 '20 12:04 WillSams

Doneski. #7

WillSams avatar Apr 10 '20 00:04 WillSams