Skip to content

Add the bird-watcher concept exercise for looping - #989

Merged
glennj merged 1 commit into
exercism:mainfrom
glennj:looping-concept
Dec 3, 2026
Merged

glennj merged 1 commit into
exercism:mainfrom
glennj:looping-concept

Conversation

@glennj

@glennj glennj commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Adds the bird-watcher concept exercise (wip), forked from the JavaScript track, where students write a script to help them keep track of the birds in their garden.
It has five tasks, selected by the script's first argument (the stub provides the case and shift lines):

  1. total the daily counts, with a for loop over "$@"
  2. find the first day without birds, with break
  3. draw one bar of a chart, with an arithmetic for loop
  4. predict when a goal will be reached, with a while loop
  5. summarize a log file, with while IFS= read -r and continue, including a last line without a trailing newline

Also makes looping the prerequisite of arrays in the concept flow diagram, docs/SYLLABUS.md and the concept exercise road map, and fills in the looping row of the road map.

The concept documents have not changed.
The exercise's generated .docs/introduction.md is built from the existing looping introduction.

🤖 Generated with Claude Code

Also make looping the prerequisite of arrays in the concept flow
diagram, the syllabus and the road map.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@glennj
glennj requested a review from a team December 2, 2026 11:57
@glennj glennj added x:action/create Work on something from scratch x:module/concept Work on Concepts x:module/concept-exercise Work on Concept Exercises x:type/content Work on content (e.g. exercises, concepts) x:rep/large Large amount of reputation and removed x:module/concept Work on Concepts labels Dec 2, 2026
@glennj glennj added the ready-to-translate The English in this PR is final; queue its translations label Dec 3, 2026
exercism-i18n Bot added a commit to exercism/i18n that referenced this pull request Dec 3, 2026
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@exercism-i18n

exercism-i18n Bot commented Dec 3, 2026

Copy link
Copy Markdown

This PR has been translated 🚀

@glennj
glennj merged commit 33047a1 into exercism:main Dec 3, 2026
29 of 30 checks passed
@glennj
glennj deleted the looping-concept branch December 3, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-translate The English in this PR is final; queue its translations x:action/create Work on something from scratch x:module/concept-exercise Work on Concept Exercises x:rep/large Large amount of reputation x:type/content Work on content (e.g. exercises, concepts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants