Skip to content

Support for exercise code reuse #174

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

Closed
VLanvin opened this issue Oct 11, 2018 · 1 comment
Closed

Support for exercise code reuse #174

VLanvin opened this issue Oct 11, 2018 · 1 comment

Comments

@VLanvin
Copy link

VLanvin commented Oct 11, 2018

Exercises often require students to re-use functions they already have defined in a previous exercise. Currently (and to my knowledge), the only way to re-use previously defined functions is to either rewrite or copy-paste them (and all their dependencies).

It would be nice if we could refer to a previous exercise via a module for example, so that we could write Exercise2_1.my_sort_function l.

Of course, a dependency check is needed to ensure that only the required exercises are compiled so as to let students do an exercise even if they skipped some before.

We could also have a module alias for every exercise, defined in the corresponding meta.json.

@EmileRolley
Copy link
Collaborator

Closed by #320

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