Skip to content

graemer957/exercism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercism

Repo storing my Rust exercises from Exercism.

Strategy

My general strategy for completing exercises is thusly:

  1. Take a look at README.md to understand the problem, and attempt to build a mental model. I use the word attempt because sometimes it is just that!
  2. Use a TDD approach to write just enough code for the first, unignored, test to pass.
  3. Write the code in a way I believe is idiomatic, understandable and maintainable. Principally code is written for humans to understand.
  4. Remove the #[ignore] from the next test
  5. Rinse and repeat steps 2 through 4, until all tests pass
  6. Review solution - apply small refactors now I understand the problem better and add comments.
  7. Whilst I may have further ideas on how to improve or perform larger refactors, I now submit the solution.
  8. Take a look at community solutions and apply what I learn to my thoughts on the next steps.
  9. Produce zero, one or more iterations.

I do occasionally submit a solution for further mentoring, asking for specific feedback on a particular approach or improvement.

License

Dual-licensed to be compatible with the Rust project.

Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.

About

Repo storing my rust exercises from https://exercism.org/

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages