Skip to content

Extract associative arrays into their own concept - #990

Merged
glennj merged 4 commits into
exercism:mainfrom
glennj:split-array-concept
Dec 4, 2026
Merged

glennj merged 4 commits into
exercism:mainfrom
glennj:split-array-concept

Conversation

@glennj

@glennj glennj commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Move the associative-arrays material out of the arrays concept into a new associative-arrays concept.
It sits beside more-arrays in the syllabus, under arrays.

This PR is concept documentation only.
There are no concept exercises in it; the road-map just lists suggested exercise names for later work.
The "about" and "introduction" docs are kept in-sync.

Changes

  • New concepts/associative-arrays/ (about.md, introduction.md, links.json, .meta/config.json), registered in config.json.
  • arrays: remove the associative section, and say associative arrays will be learned later.
  • arrays: add checking for an element with -v, and removing one with unset.
  • associative-arrays: add checking for a key, removing a key, and counting keys.
  • arrays: replace && / || examples with if, plus a few wording and typo fixes.
  • docs/SYLLABUS.md: nest Arrays under Looping, with More About Arrays and Associative Arrays beneath it.
  • exercises/concept/road-map.md: add the new concept, suggested exercise names, and make looping the prerequisite for arrays.

configlet lint reports no problems.

🤖 Generated with Claude Code

@glennj glennj added x:action/create Work on something from scratch x:module/concept Work on Concepts x:type/content Work on content (e.g. exercises, concepts) x:rep/large Large amount of reputation labels Dec 2, 2026
@glennj
glennj requested a review from a team December 2, 2026 12:47
Comment thread concepts/associative-arrays/links.json Resolved
Comment thread concepts/arrays/about.md Resolved
Comment thread concepts/arrays/about.md Resolved
Comment thread concepts/arrays/about.md Resolved
Comment thread concepts/arrays/about.md Resolved
Comment thread concepts/associative-arrays/about.md Resolved
Comment thread concepts/associative-arrays/about.md Resolved
Comment thread concepts/associative-arrays/about.md Resolved
glennj and others added 4 commits December 4, 2026 12:06
Move the associative-arrays section out of the arrays concept into a new
associative-arrays concept, a sibling of more-arrays in the syllabus.

Also add to arrays: checking for an element with -v, removing one with
unset, and a few wording fixes.
Add the suggested exercises to the concept exercise road-map, and make
looping the prerequisite for arrays.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@glennj
glennj force-pushed the split-array-concept branch from 44bf7e4 to 94c3b31 Compare December 4, 2026 17:06
@glennj glennj added the ready-to-translate The English in this PR is final; queue its translations label Dec 4, 2026
exercism-i18n Bot added a commit to exercism/i18n that referenced this pull request Dec 4, 2026
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@exercism-i18n

exercism-i18n Bot commented Dec 4, 2026

Copy link
Copy Markdown

This PR has been translated 🚀

@glennj
glennj merged commit 9050290 into exercism:main Dec 4, 2026
12 of 13 checks passed
@glennj
glennj deleted the split-array-concept branch December 4, 2026 18:17
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 Work on Concepts 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