The devil is in the details
Solve Problems (62! in the JavaScript track)
Provide useful critiques (nits) to others' solutions
Make the tests pass
You start with some code. Talk about it a little.
Rewrite the code a bit, then post the new version. Make it better.
After a few cycles you've got improved code, and perhaps even a new friend!
Non-trivial exercises
Get (and give) targeted feedback
No hand-holding tutorials
Start conversations about the code, best practices
brew tap homebrew/binary
brew install exercismcurl -O https://raw.githubusercontent.com/exercism/cli-www/master/public/install
chmod +x install
./install1.Download the zip file for your Windows version (32-bit or 64-bit).
2.Extract exercism.exe to a folder of your choice.
3.Add that folder to your PATH.exercism configure --key=YOUR_API_KEYexercism tracksexercism fetch javascriptvar Bob = function() {};
Bob.prototype.hey = function(what) {
// Your solution to the exercise goes here
};
module.exports = Bob;(JavaScript)
e.g. for "Bob" exercise, create
bob.js
Hint: You can use ES2015 syntax
(JavaScript)
npm install -g jasmine-nodejasmine-node bob_test.spec.js// To enable a test, remove the "x":
xit("shouting", function() {...});
// Becomes:
it("shouting", function() {...});exercism submit path/to/your/code.jsexercism unsubmitexercism submit path/to/your/code.js