You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bit of legacy content, as I have said before, I only realised after a long while that we are building a system for teaching programming, not a system for kids to learn or explore programming alone. These start codes are very old, when we (I) thought that every level would just have a start code and kids would append and explore alone. But our preferred workflow for kids now is to read the exercise, take the startcode from the exercise, and change that!
So, there are a number of reasons to get rid of these start codes now:
They are not useful anymore; the workflow is based on exercises (see above)
They are adding a lot of translation efforts! Since we have to translate all of them separately. '# place your code here' occurs 73 times in en.yaml and has to be translated each time!
So, let's remove them from the content files!
The text was updated successfully, but these errors were encountered:
Addressed the first part of #4906 by loading code into the slides, rather than loading start codes. I again have learned a valuable lesson here haha. I though "ah I will just half-ass the slides a bit by repurposing something existing, and I will improve it later" and then of course slides are expanded and translated and it gets harder and harder to still improve. I keep forgetting this is not my tiny hobby project anymore :)
**How to test**
Go to the slides and see that code is loaded from the yaml files.
This also fixes#4794 since it is no longer needed to look up slides code.
Discussed in #4837
Originally posted by Felienne December 1, 2023
All adventures currently have a field start_code, see:
hedy/content/adventures/en.yaml
Line 30 in 5c49bdc
This is a bit of legacy content, as I have said before, I only realised after a long while that we are building a system for teaching programming, not a system for kids to learn or explore programming alone. These start codes are very old, when we (I) thought that every level would just have a start code and kids would append and explore alone. But our preferred workflow for kids now is to read the exercise, take the startcode from the exercise, and change that!
So, there are a number of reasons to get rid of these start codes now:
'# place your code here'
occurs 73 times in en.yaml and has to be translated each time!So, let's remove them from the content files!
The text was updated successfully, but these errors were encountered: