Add the three missing errorHandling exercise descriptions - #323
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
en/kotlin/errorHandling/14.md,en/swift/errorHandling/15.mdanden/swift/errorHandling/16.mdshipped without a# --description--, while every other exercise in those two chapters has one —dart/errorHandlingcarries all 16. Before #322 that gap also truncated the generated_theory.md; #322 fixed the truncation and left the content hole visible.Each new description says something the chapter had not said yet:
Resultis an ordinary value, so it can be stored in avaland questioned repeatedly. Atry/catchoutcome is handled once, where it happened, and is then gone.doblock sits decides the cost of one failure: inside the loop, one bad item is skipped; outside it, the loop gives up.Translated into all 11 non-en locales (33 files). Fenced code and inline API names are byte-identical to English everywhere.
Diff shape
_theory.mdfiles, +420 / −0 — exactly the lines added to the exercises.curriculum.json, +24/−24: onlytrainUntil, which counts exercises that have a description (json_creator.dart:134). kotlin errorHandling 15 → 16 and swift 14 → 16, in each of the 12 locales.Checks
theory_creator+json_creatorregenerated.+275436: All tests passed!Still open, not in this PR
en/python/errorHandling/14.mdhas the same gap. It is a multiple-choice quiz on the exception table that exercise 13 already prints in full, so there is nothing to say there that 13 does not already say. Left alone deliberately.