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

Should we provide the solution's header and empty source file? #43

Closed
ryanplusplus opened this issue Aug 25, 2016 · 2 comments
Closed

Comments

@ryanplusplus
Copy link
Member

ryanplusplus commented Aug 25, 2016

Including a (more or less) completed header will help set to ensure that solutions are const-correct and help to communicate all assumptions made about arguments in the tests.

Including an empty source file will help to ensure that the user can get something compiling relatively quickly.

@ryanplusplus ryanplusplus changed the title Should we provide the solution's header file? Should we provide the solution's header and empty source file? Aug 25, 2016
@arcuru
Copy link
Contributor

arcuru commented Sep 1, 2016

Including stubs seems to be a point of debate for every track at some point :)

I think forcing the solver to define the function definition themselves is good, it makes them have to consider what exactly they need to do. Doing it yourself rather than having it handed to you is a better way to learn.

The first problem or two should probably have them though.

@ryanplusplus
Copy link
Member Author

@patricksjackson that makes sense to me. I'll create a PR to add a stub for the hello world problem.

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

2 participants