Skip to content

Commit 51418ec

Browse files
authored
bracket-push: rename to matching-brackets (#1501)
I rehash my prior allegations of #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: #1451 (comment) 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: #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.
1 parent f0fa3fc commit 51418ec

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

exercises/bracket-push/canonical-data.json renamed to exercises/matching-brackets/canonical-data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"exercise": "bracket-push",
3-
"version": "1.5.0",
2+
"exercise": "matching-brackets",
3+
"version": "2.0.0",
44
"cases": [
55
{
66
"description": "paired square brackets",

0 commit comments

Comments
 (0)