From 6843089be43e73017562b002d128927343b95311 Mon Sep 17 00:00:00 2001 From: Peter Tseng Date: Fri, 5 Apr 2019 00:39:06 +0000 Subject: [PATCH] bracket-push: rename to matching-brackets I rehash my prior allegations of https://github.com/exercism/problem-specifications/issues/693 below: I contend that having the word `push` in the name unnecessarily biases the solution space toward solutions that use a stack data structure (has a *push* operation) or a *push*-down automaton, rather than other solutions not using either of these two. We have heard a principle that we want to name exercises by their story, not by what they teach: https://github.com/exercism/problem-specifications/issues/1451#issue-405853947 The story here is about matching brackets, so I posit that that serves as the name we want. I have changed the major version number, as was done in the retree->satellite rename, even though I do not feel strongly about whether that should be necessary: https://github.com/exercism/problem-specifications/pull/1478 As we have gained experience in the rename of retree, we see that problem-specifications is free to rename exercises at any point, without waiting for all tracks to follow suit. Of course, this operation should not be performed lightly since it causes churn in the 31 (*thirty-one*) tracks implementing this exercise. --- .../{bracket-push => matching-brackets}/canonical-data.json | 4 ++-- exercises/{bracket-push => matching-brackets}/description.md | 0 exercises/{bracket-push => matching-brackets}/metadata.yml | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename exercises/{bracket-push => matching-brackets}/canonical-data.json (98%) rename exercises/{bracket-push => matching-brackets}/description.md (100%) rename exercises/{bracket-push => matching-brackets}/metadata.yml (100%) diff --git a/exercises/bracket-push/canonical-data.json b/exercises/matching-brackets/canonical-data.json similarity index 98% rename from exercises/bracket-push/canonical-data.json rename to exercises/matching-brackets/canonical-data.json index 3bfe57081c..1a9f112dfb 100644 --- a/exercises/bracket-push/canonical-data.json +++ b/exercises/matching-brackets/canonical-data.json @@ -1,6 +1,6 @@ { - "exercise": "bracket-push", - "version": "1.5.0", + "exercise": "matching-brackets", + "version": "2.0.0", "cases": [ { "description": "paired square brackets", diff --git a/exercises/bracket-push/description.md b/exercises/matching-brackets/description.md similarity index 100% rename from exercises/bracket-push/description.md rename to exercises/matching-brackets/description.md diff --git a/exercises/bracket-push/metadata.yml b/exercises/matching-brackets/metadata.yml similarity index 100% rename from exercises/bracket-push/metadata.yml rename to exercises/matching-brackets/metadata.yml