New Proposed JS Exercism - bracket-push#31
New Proposed JS Exercism - bracket-push#31ginna-baker wants to merge 61 commits intoexercism:masterfrom ginna-baker:master
Conversation
Add MIT license
Make JS test suite pass again.
added travis.yml for JS
Come at it the other way so we don't have to muck around with built-ins.
…and changing match to matches -- better responsibility separation also
Anagram refactor
Add semicolons and parentheses to be consistent.
Update robot simulator spec with semicolons
add circular buffer exercism
Removing "!" from calm test.
For the related discussion see exercism/python#98
nucleotide-count: Remove special treatment of uracil
refactor nucleotide-count assignment
Bracket-push encourages strategic problem solving skills, allowing the user to check through a series of brackets to ensure that they are closed correctly. This exercise also has real-world applications in debugging software.
|
Cool, I think this looks interesting. @wilmoore as a javascript person, would you take a look at it in terms of style, idioms, and the API that the test suite is enforcing? |
|
Hi @ginna-baker, Thanks for submitting this. I am knee deep in the middle of a sprint ATM; however, I will do my best to look at this and provide useful feedback tonight. Thanks. |
|
Thanks, Wil! I'd love to get your thoughts as time allows. Best,
|
|
Here are a few things that I think will get you going toward an idiomatic implementation:
Here is an example that incorporates the things mentioned above: For the tests, you can use a single Here is an example: |
|
Thank you, Wil! I've modified as indicated:
I also added 'require' at the top of the test spec, but my testem throws an error at 'require', so I'd ask that you double check me on the usage. Many thanks for the feedback. I'd love to contribute again -- let me know if anything specific is needed. |
No problem at all :)
I hope to see you contributing further. We are always in need of cleaning up/refactoring assignments. BTW, you can run a particular assignment's tests with: |
|
For some reason |
Renamed and refactored as example.js
|
Great! I git-rm'ed bracket-push.js. This should be good to go. Let me know if there's anything else I should take care of. |
|
Hey @ginna-baker. Thanks for the update. There were some large changes to the repo recently which means you'll need to re-clone the project, create a new branch, and drop the Everything seems to look good to me, so once you open the PR, I should be able to merge it. I'm going to close this one though since it is pretty broken. Sorry about that. |
|
@ginna-baker if that's intimidating let me know and I'll get your commit in for you. |
Bracket-push encourages strategic problem solving skills, allowing the
user to check through a series of brackets to ensure that they are
closed correctly. This exercise also has real-world applications in
debugging software.