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

Autogenerate "vorlage.py" from "loesung.py" #334

Closed
maxnoe opened this issue Jun 15, 2023 · 0 comments · Fixed by #402
Closed

Autogenerate "vorlage.py" from "loesung.py" #334

maxnoe opened this issue Jun 15, 2023 · 0 comments · Fixed by #402
Assignees

Comments

@maxnoe
Copy link
Member

maxnoe commented Jun 15, 2023

In many exercises, we have duplicated code in a "vorlage.py" and a "loesung.py", which leads to duplicated changes being necessary when changing the exercises.

Maybe we should switch to auto-generating the "vorlage.py"?

In SMD, we use magic comments like these:

### start loesung
### end loesung

to generate skeletons from the solutions.

@maxnoe maxnoe self-assigned this Sep 29, 2023
@SepplL SepplL linked a pull request Aug 5, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant