-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
All tracks that have discussed whether to have stubs or not #114
Comments
I feel like I should close this issue since there is never any "completed" state for it (maybe if all tracks wanted to standardise on whether to provide stub files or not, and we decided to come together and make it happen), and I wouldn't want it to clog up the issue queue. I'm still happy to hear your comments though, don't let the fact that the issue is closed stop you! |
In general, it seems stubs may be provided for at least two reasons:
|
FYI @exercism/track-maintainers interesting discussion/analysis here about stub files. If you have anything to add (including links to discussions in your respective tracks), please add it here. |
Swift just moved to stub blank files for all excercises. |
@petertseng I updated your original comment with the related discussion in C# and F#. FYI @ErikSchierboom who created these issues. |
Re-opened this because it's still under active discussion and it would nice if it was more discoverable. We can close it again once it gets old and we've all worked out what we're doing about our stubs. |
The concensus of the C# and F# track was that we will be using stub files, where the earlier ones will already be providing the exact required functions, and later on you will have to add them yourselves. |
The Lisp track uses a stub file for all exercises as the boilerplate to set up the package is not something we are teaching. I think this is important to do. It is analogous to the issues of specific directory structures in other languages. Currently all our exercises contain functions with the correct signature but no body. I'm thinking now that dropping these off after the first set of exercises would be safe to do. |
A vision of the future... What if I, as a student, could express a preference (possibly per-track) for what kind of stub file the API delivers:
Catering to the preferences and needs of different audiences (Those who say "I think it's educational and valuable to think carefully about the signatures" versus "I think it's useless busy-work to have to divine the signatures from the test file") |
That would be cool. If someone (not it!) wants to do the work, I would support it. |
Regarding C++, I think the conclusion is no. We can always change our mind later :). |
Good. Next step is if there is any issue other than exercism/cpp#4 that documents the decision in detail, to say what that issue is. If there is no such issue, there is no need to respond. |
@petertseng I find this a fascinating idea. One of the biggest complications, I think, is the tests would require a specific signature, especially for statically-typed languages. I'm not sure it wouldn't ever not be busy-work under those conditions. The concept of "catered" problem solving is really interesting, though. |
OCaml: exercism/ocaml#285, stubs for all files, containing signatures. |
Hello. If your track ever had any discussions regarding whether to provide stub files to students, I would be pleased if you would comment on this issue with what you decided. Or, even better, if you have records of these discussions in an issue or PR, you could add a link to the below list.
Due to my laziness, I'll only record tracks for which there actually was a discussion. It wonder if that skews the results at all!
If you want to take the time to record tracks for which there was no discussion, I wouldn't object, I just won't do it myself. The reason is that it takes slightly less time to scan a single issue to determine what the track's policy is, and more time to scan multiple directories and determine whether they contain stub files. Note that this also implies there is no check to see whether a track actually complies with its own policy. That is also out of scope, since each track's maintainers can individually decide how quickly to make the track conform to its own policies.
hello worldallfirst 5first 10+10Asterisk indicates the link only determines the policy of whether to have stubs. No asterisk indicates the link includes rationale.
The text was updated successfully, but these errors were encountered: