GithubHelp home page GithubHelp logo

library-challenge's Introduction

Library Challenge

Week 1 Ruby challenge

Instructions

Read this entire README carefully and follow all instructions.

  • Challenge time: this weekend, until Monday 9am
  • Feel free to use Google, Stack Overflow, your notes, previously written code, books, etc. but work on your own
  • If you refer to or have in whole or partially used the solution of another coach or student, please put a link to that in your README
  • If you have a partial solution, still check in a partial solution to GitHub and create a Pull Request
  • You must submit a Pull Request to this repository with your code by 9.30am Monday morning - before the stand-up

Tasks


  • Fork the challenge repo: https://github.com/CraftAcademy/library-challenge
  • Run the command bundle install in the project directory to ensure you have all the gems
  • Write your specs and implementation
  • Be smart about using Git: commit and push often. Use feature branches.
  • Create a Pull Request as soon as possible
  • Read the comments from Hound and fix any issues that the service points out.

Tips


Some hints:
  • A Person needs to have a list of books that he currently has in his possession. That list needs to include the return date.
  • The return date can be calculated using the Date object. Out of the box, there are methods you can use to add days to the current date.
  • Make use of doubles when writing your specs
  • Follow the naming conventions/standards for methods and variables

What we are looking for


I'm hoping to see that:
  • You can take a problem set and write a well tested implementation on your own.
  • You understand how to define Ruby Classes and work with objects.
  • You understand how classes can interact with each other.
  • You know how to make use of arrays, hashes, and associated methods to create dynamic lists.
  • You know how to write specs and use them as a blueprint in your development.
  • I can track your work by following you commit history - so please commit as soon you are done with a feature or when you have made a test pass.
In your Pull Request, I'm hoping to see:
  • That you are testing the right thing in the right spec file.
  • That all tests passing - green is good!
  • High test coverage (above 95% is accepted)
  • The code is easy to follow: every class has a clear responsibility, methods are short, code is nicely formatted, etc.
  • The README.md includes information on how to use your solution with command examples in irb. (Feel free to remove this text)

Happy coding!

library-challenge's People

Contributors

diraulo avatar faraznaeem avatar noelryn avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.