Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline code in header files should probably be implemented in separate *.inl files #19

Open
nasso opened this issue Jun 2, 2021 · 0 comments

Comments

@nasso
Copy link
Owner

nasso commented Jun 2, 2021

Some headers are getting way too hard to read because of all the inline code (e.g. World.hpp).

We could instead implement all the functions in a separate .inl file that is included at the bottom of the header file. This should make the code easier to read and document.

See also: https://stackoverflow.com/questions/1208028/significance-of-a-inl-file-in-c

@nasso nasso added the good first issue Good for newcomers label Jun 2, 2021
@nasso nasso changed the title Inline code in header files should probably be implemented in separated *.inl files Inline code in header files should probably be implemented in separate *.inl files Jun 2, 2021
@nasso nasso removed the good first issue Good for newcomers label Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant