Skip to content

Make Sprint 2 exercises throw on bad input, matching the Sprint 1 prep - #1461

Open
abdishakoor-dev wants to merge 1 commit into
mainfrom
sprint-2-error-handling
Open

Make Sprint 2 exercises throw on bad input, matching the Sprint 1 prep#1461
abdishakoor-dev wants to merge 1 commit into
mainfrom
sprint-2-error-handling

Conversation

@abdishakoor-dev

Copy link
Copy Markdown
Contributor

Follow-up to #1460. The Sprint 1 prep teaches that a function should throw when it can't do its job, and the Sprint 1 exercises now expect that. The Sprint 2 exercises that deal with invalid input still asked trainees to return false, or to skip values that weren't numbers. They now expect a named error instead.

@abdishakoor-dev abdishakoor-dev added the NotCoursework Not coursework - used for curriculum development work. label Sep 7, 2026
The exercises that deal with invalid input still asked trainees to
return false, or to skip values that weren't numbers. They now expect a
named error instead, matching what the Sprint 1 prep teaches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NotCoursework Not coursework - used for curriculum development work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant